S
somequestion
Question 1.
i am using StreamReader Class like this...
string str = string.Empty;
StreamReader sr = new StreamReader(fsIn,Encoding.Default)
while ((str = sr.ReadLine()) != null)
{
// wanna get line Count of Sr
}
i just want to get a count of sr.
how can i get this...? isn`t there any method in StreamReader Calss?
Question 2.
is there any way to get data of next data of sr.ReadLine()
i mean
when i using this
while ((str = sr.ReadLine()) != null)
{
// wanna read next Line of sr.ReadLine()
}
is it possible?
i am using StreamReader Class like this...
string str = string.Empty;
StreamReader sr = new StreamReader(fsIn,Encoding.Default)
while ((str = sr.ReadLine()) != null)
{
// wanna get line Count of Sr
}
i just want to get a count of sr.
how can i get this...? isn`t there any method in StreamReader Calss?
Question 2.
is there any way to get data of next data of sr.ReadLine()
i mean
when i using this
while ((str = sr.ReadLine()) != null)
{
// wanna read next Line of sr.ReadLine()
}
is it possible?