How would you translate VB.Net code into C# for a couple of statements?
Posted on 2016-10-21
Could you show me the C# equivalent of the following VB.Net code except that I want to read the content into a string and not a textbox:
Dim mystreamreader As New StreamReader(LocalFileName, Encoding.Default)
MyEditTextBox.Text = mystreamreader.ReadToEnd()