YT
Size: a a a
YT
YT
parseFloat (s: string) =
VS
VS
EE
R
let inline tryParse<'a when 'a: (static member TryParse: string * byref<'a> -> bool)> x =
let mutable res = Unchecked.defaultof<'a>
if (^a: (static member TryParse: string * byref<'a> -> bool) (x, &res))
then Some res
else None
let chislo = tryParse<int> "345"
EE
AH
let inline tryParse<'a when 'a: (static member TryParse: string * byref<'a> -> bool)> x =
let mutable res = Unchecked.defaultof<'a>
if (^a: (static member TryParse: string * byref<'a> -> bool) (x, &res))
then Some res
else None
let chislo = tryParse<int> "345"
R
I
AH
I
I
AH
I
I