Represents access to collection of all available accounts.


SYNTAX

public IAccountsCollection Accounts { get; }


EXAMPLE

 An object ‘Account’ that is currently used is created in the next example. Equity of the current ‘Account’ further outputted.
 
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using PTLRuntime.NETScript;

namespace AccountProperties
{
  public class AccountProperties : NETStrategy
  {
    public override void Init()
    {
      Account acc = Accounts.Current; //creation and initialization of the object ‘Account’.
      Print("Name : "+ acc.Name+"\n");//outputting of all the 'Account' properties
    }        
  }
}