Bu powershell kodunda neden son ifade doğru olarak çözülüyor?Powershell'de dizeler boş olabilir mi?
PS C:\> $s = [System.String]$null
PS C:\> $s.GetType()
IsPublic IsSerial Name BaseType
-------- -------- ---- --------
True True String System.Object
PS C:\> $s -eq ""
True
'$ s = [System.String] [NullString] :: Değer ' – PetSerAl
Evet, hatta' '[System.String] $ s = [System.String] [NullString] :: Değer'. [Variable '$ null'] (https://technet.microsoft.com/en-us/library/hh847768.aspx) 'nin anlamı NULL ___or___ boş bir değerdir. Biraz [Powershell'den bir dizeyi bekleyen bir .NET API'sine geçirme olasılığı var mı?] (Http://stackoverflow.com/questions/2002570/) –
[related] ile ilgili [https://stackoverflow.com/q/] 45720150/1404637) – alx9r