.NET static classes will be supported in a maintenance release. In PowerBuilder 11.0, code like the following generates an error message because System.Environment is a static class:
String s s = "Version: " #IF DEFINED PBDOTNET then s = s + System.Environment.Version.ToString() #END IF
The following error message is generated: “C0312: An object reference is required for a nonstatic field, method, or property.” This message is misleading because it does not indicate that the static class is not supported. [CR 465919]