34,333
edits
Changes
→.NET Static Members and Properties
== .NET Static Members and Properties ==
Static methods and properties may be accessed without created creating instances of the class in question. The syntax for accessing a static method is as follows:
[Classname]::Method(parameters)
For example, the following invokes the ''Get_BackgroundColor()'' static method of the ''[System.Console]'' classto obtain the background color of the Windows PowerShell console window:
<pre>