2013-08-23 5 views

Antwort

16

if (variable :? string) ... 

Versuchen oder

let x = variable :? string 
+1

Was ist mit C# 'as' Operator Äquivalent? – Andrii

+1

siehe http://stackoverflow.com/questions/2361851/c-sharp-and-f-casting-specifical-the-as-keyword @Andrii – Maslow

Verwandte Themen