glib-sharp2.8.0.0Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details.A simple file IO utility classContains a single static method GetFileContents(string filename) which returns the contents of a text file as a string.System.ObjectMethodSystem.StringReturns a string containing the contents of the text file passed as the 'filename' parameter.
The file GetFileContents() should retrieve its result from. An object of type Returns the contents of a text file. An object of type
using System;
class Test
{
public static void Main(string[] args)
{
Console.WriteLine(GLib.FileUtils.GetFileContents(args[0]));
}
}