<Type Name="FileUtils" FullName="GLib.FileUtils">
  <TypeSignature Language="C#" Value="public class FileUtils" Maintainer="auto" />
  <TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit FileUtils extends System.Object" />
  <AssemblyInfo>
    <AssemblyName>glib-sharp</AssemblyName>
    <AssemblyPublicKey>
    </AssemblyPublicKey>
  </AssemblyInfo>
  <ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
  <Base>
    <BaseTypeName>System.Object</BaseTypeName>
  </Base>
  <Interfaces />
  <Docs>
    <summary>A simple file IO utility class</summary>
    <remarks>Contains a single static method GetFileContents(string filename) which returns the contents of a text file as a string.</remarks>
  </Docs>
  <Members>
    <Member MemberName="GetFileContents">
      <MemberSignature Language="C#" Value="public static string GetFileContents (string filename);" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig string GetFileContents(string filename) cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.String</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="filename" Type="System.String" />
      </Parameters>
      <Docs>
        <param name="filename">The file GetFileContents() should retrieve its result from. An object of type <see cref="T:System.String" /></param>
        <summary>Returns a string containing the contents of the text file passed as the 'filename' parameter.</summary>
        <returns>Returns the contents of a text file. An object of type <see cref="T:System.String" /></returns>
        <remarks>
          <example>
            <code lang="C#">
using System;
                                                                                
class Test
 {
        public static void Main(string[] args)
        {
                Console.WriteLine(GLib.FileUtils.GetFileContents(args[0]));
        }
 }
  </code>
          </example>
        </remarks>
      </Docs>
    </Member>
  </Members>
</Type>
