Below is a sample code snippet demonstrating the usage of the “B” to define a ASCII string in F# . This technique is somewhat similar to Encoding.ASCII.GetBytes in F#.
Encoding.ASCII.GetBytes in F# for Array of Bytes (Ascii string)
// AbundantCode F# Tutorials and Code snippets open System [<EntryPoint>] let main argv = let asciistringvalue = "Free Programming Tutorials on F#" Console.WriteLine(asciistringvalue) let retval = Console.ReadLine() 0 // return an integer exit code
Leave a Reply