Amazon Wish List News RSS feed. Development Blog Browse the Forums  
  Overview - Downloads - Examples - News Feed - Contact Info -

CommonEngine.RawReadFirstLines Method 

Shortcut method to read the first n lines of a text file.

[Visual Basic]
Public Shared Function RawReadFirstLines( _
   ByVal file As String, _
   ByVal lines As Integer _
) As String
[C#]
public static string RawReadFirstLines(
   string file,
   int lines
);

Parameters

file
The file name
lines
The number of lines to read.

Return Value

The first n lines of the file.

See Also

CommonEngine Class | FileHelpers Namespace


Powered by:

Source Forge Thanks Jetbrains for support us !! Thanks BB Software for support us !! TestDriven.NET Code Coverage by Clover.NET Code Project Article Larkware News Sharp Toolbox