4

I've always found this method highly convenient. Is there a Xamarin equivalent?

William Jockusch
  • 26,513
  • 49
  • 182
  • 323

1 Answers1

8

You can use the following:

var text = System.IO.File.ReadAllText("TestData/ReadMe.txt");

See the Load a File documentation on the Xamarin site.

ColinE
  • 68,894
  • 15
  • 164
  • 232