oversættelse vb.net til c#
Jeg har følgende kodestump:class Configuration:
Private Shared FInstance As Configuration = Nothing
'constructor
Private Sub New(ByVal _path As String)
'do something
Public Shared ReadOnly Property Instance(ByVal _path As String)
Get
If (FInstance Is Nothing) Then
FInstance = New Configuration(_path)
End If
Return FInstance
End Get
End Property
hvordan skrives det i c#?
