F# Assigning a text file to a variable (string)
f#
Solution
You'd just a let binding, and the same `System.IO` functions that are normally available:
let theVariable = System.IO.File.ReadAllText pathToFile
Problem
In F# how do you assign the entire contents of a file (text file where it's 100% string type) to a variable?