C# Class Hardly.File

Datei anzeigen Open project: hardlydifficult/HardlyBot

Public Methods

Method Description
Create ( string filename ) : void
Delete ( string filename ) : void
Exists ( string filename ) : bool
ReadAllBytes ( string filename ) : byte[]
ReadAllLines ( string filename ) : string
WriteLine ( string filename, string message ) : void

Method Details

Create() public static method

public static Create ( string filename ) : void
filename string
return void

Delete() public static method

public static Delete ( string filename ) : void
filename string
return void

Exists() public static method

public static Exists ( string filename ) : bool
filename string
return bool

ReadAllBytes() public static method

public static ReadAllBytes ( string filename ) : byte[]
filename string
return byte[]

ReadAllLines() public static method

public static ReadAllLines ( string filename ) : string
filename string
return string

WriteLine() public static method

public static WriteLine ( string filename, string message ) : void
filename string
message string
return void