GAME OF THRONES ALL SEASON
Game of Thrones is an American fantasy drama television series produced by the HBO cable network. It is based on the novel series A Song of Ice and Fire# Define a class class TypeName { # Property with validate set [ValidateSet("val1", "Val2")] [string] $P1 # Static property static [hashtable] $P2 # Hidden property does not show as result of Get-Member hidden [int] $P3 # Constructor TypeName ([string] $s) { $this.P1 = $s } # Static method static [void] MemberMethod1([hashtable] $h) { [TypeName]::P2 = $h } # Instance method [int] MemberMethod2([int] $i) { $this.P3 = $i return $this.P3 } }
Skip to main content
Comments
Post a Comment