Google News
logo
F# - Interview Questions
What is type annotation in F#?
F# allows type annotation so that you can explicitly mention the type of identifier or parameter or return type of a function. You must use : (colon) to apply annotation in F#.
 
Example : 
let a:int = 10  
printf "%d" a
Advertisement