F# (pronounced “F Sharp”) is a strongly-typed, functional-first programming language for writing simple code to solve complex problems. From the business perspective, the primary role of F# is to reduce the time-to-deployment for analytical software components in the modern enterprise. Its interoperability with all .NET languages and libraries and its ability to tackle the complexity of components such as calculation engines and data-rich analytical services offer a compelling story for businesses.
Hello World
let helloWorld = "Hello" + " " + "world"
helloWorld
Random Numbers
let number = (new System.Random()).Next()
number
Simple function
/// A function to compute a sample curve
let sampleFunction (x:int) =
2*x*x – 5*x + 3
sampleFunction (7 + 4)
If-else condition
if 98.0 < 100.0 then 10 else 20
not false && (true || false)
Class
Basic I/O
Filed under: .NET, .NET Core course sri lanka, .NET Course Sri Lanka, F# Programming course Dubai, F# Programming course Jakartha, F# Programming course Singapore, F# Programming course Sri Lanka, F# Programming training, F# Programming training Jakartha, F# Programming training Singapore, F# Programming training Sri Lanka, Introduction to F# Programming., R Programming course singapore, R Programming course Sri Lanka., R Programming training Sri Lanka., R Programming Workshop Singapore, R Programming Workshop Sri Lanka., Solidity programming, Solidity programming Singapore, Solidity programming Sri Lanka, swift programming course sri lanka, swift programming sri lanka, swift programming workshop sri lanka, Xcode programming sri lanka | Tagged: Introduction to F# Programming. | Leave a comment »