2013-08-23 9 views

Odpowiedz

16

Spróbuj

if (variable :? string) ... 

lub

let x = variable :? string 
+1

Co z odpowiednikiem operatora C# 'as'? – Andrii

+1

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

Powiązane problemy