- .NET Namespaces (as well as PHP namespaces) are accessed by using standard PHP syntax
- .NET Static Functions are accessed with :: (as well as PHP static functions)
For example, in C#, we would do the following:
System.String.Format("{0}", "test");
in Phalanger, we would access it as such:
System\String::Format("{0}", "test");
- .NET Class Static Properties in PHP require a $, as do static fields
or
MyNamespace\MyClass::$MyStaticField