Welcome to MSDN Blogs Sign in | Join | Help

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

A great blog from Brian McNamara on What does this C# code look like in F#?  

...when you are new to a language (F#), it is sometimes useful to know how to transliterate from a well-known language (C#) for those cases where you just don't know the idioms yet, but don't want that to prevent you from making progress. So today's blog entry takes the general form of "here's some C# code, how do I write the same thing in F#". It is intended to be used as a reference or as casual reading to discover some little-used or lesser-known F# syntax/operators/functions. Don't use this blog post as a way to learn the language, instead use the many useful F# tutorials and samples on the web (start here), and just use this blog post to "fill in the gaps" if needed.

Published Monday, December 08, 2008 12:47 PM by dsyme
Filed under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Don Syme s WebLog on the F Language and Related Topics What does | Joint Pain Relief

Leave a Comment

(required) 
required 
(required) 
 
Page view tracker