Pages

Saturday, December 3, 2011

Null character in F#

Unlike C#, null character can be represent as '\0'. in F#, you have to type more zero's.. :)

follow the spec: http://msdn.microsoft.com/en-us/library/dd323829.aspx

let a = '\0' won't compile, but
let a = '\000' will.

No comments: