What does this C# code look like in F#? (part one: expressions and statements)

The first section is about casts.

In your case,

((uint32) someValue)

just means

uint32 someValue



In all cases, uint32 here is a library function that does numerical conversion.

By on 6/3/2009 10:21 AM ()
Thanks, that makes loads of sense now. So the parentheses just delimit the function, which, in the case above, just returns the function after evaluating?

By on 6/3/2009 10:56 AM ()
In F# integer types are not converted into each other automatically. 100 is constant of type int. To make it be uint32 constant use 'u' suffix, e.g. 100u .
By on 6/3/2009 12:38 PM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us
Built with WebSharper