Click here to Skip to main content
15,885,757 members
Home / Discussions / C#
   

C#

 
QuestionMemory leaks tools Pin
tom groezer20-Aug-08 22:38
tom groezer20-Aug-08 22:38 
GeneralRe: Memory leaks tools Pin
selcuks20-Aug-08 22:50
selcuks20-Aug-08 22:50 
GeneralRe: Memory leaks tools Pin
tom groezer20-Aug-08 23:34
tom groezer20-Aug-08 23:34 
GeneralRe: Memory leaks tools Pin
leppie21-Aug-08 22:03
leppie21-Aug-08 22:03 
Questionstructure storage API Pin
Miss_hacker20-Aug-08 21:56
Miss_hacker20-Aug-08 21:56 
AnswerRe: structure storage API Pin
Christian Graus20-Aug-08 22:28
protectorChristian Graus20-Aug-08 22:28 
Questionstring comparasion Pin
AndieDu20-Aug-08 21:32
AndieDu20-Aug-08 21:32 
AnswerRe: string comparasion Pin
selcuks20-Aug-08 21:41
selcuks20-Aug-08 21:41 
Your approach seems not correct.
You may try this one:
while (sr != sr.EndOfStream || sr1 != sr1.EndOfStream)
{
line = sr.ReadLine();
line_1 = sr1.ReadLine();

if(!String.IsNullOrEmpty(line) && !String.IsNullOrEmpty(line_1))
{
     Assert.AreEqual(line, line_1)
}
}

Hope this helps,

Always keep the Murphy Rules in mind!

GeneralRe: string comparasion Pin
AndieDu21-Aug-08 15:30
AndieDu21-Aug-08 15:30 
AnswerRe: string comparasion Pin
Christian Graus20-Aug-08 21:54
protectorChristian Graus20-Aug-08 21:54 
GeneralRe: string comparasion Pin
AndieDu21-Aug-08 15:31
AndieDu21-Aug-08 15:31 
QuestionA COM Interop Question Pin
Xiaoming Qian20-Aug-08 21:21
Xiaoming Qian20-Aug-08 21:21 
AnswerRe: A COM Interop Question Pin
AhsanS20-Aug-08 21:37
AhsanS20-Aug-08 21:37 
AnswerRe: A COM Interop Question Pin
Green Fuze20-Aug-08 22:35
Green Fuze20-Aug-08 22:35 
GeneralRe: A COM Interop Question Pin
Xiaoming Qian21-Aug-08 19:04
Xiaoming Qian21-Aug-08 19:04 
AnswerRe: A COM Interop Question [modified] Pin
selcuks20-Aug-08 22:54
selcuks20-Aug-08 22:54 
GeneralRe: A COM Interop Question Pin
JoeRip21-Aug-08 2:26
JoeRip21-Aug-08 2:26 
Questionhi friends I need help Pin
Denver Thomas20-Aug-08 21:03
Denver Thomas20-Aug-08 21:03 
AnswerRe: hi friends I need help Pin
Christian Graus20-Aug-08 21:18
protectorChristian Graus20-Aug-08 21:18 
GeneralRe: hi friends I need help Pin
Denver Thomas20-Aug-08 21:52
Denver Thomas20-Aug-08 21:52 
GeneralRe: hi friends I need help Pin
Christian Graus20-Aug-08 22:29
protectorChristian Graus20-Aug-08 22:29 
GeneralRe: hi friends I need help Pin
Denver Thomas21-Aug-08 0:18
Denver Thomas21-Aug-08 0:18 
QuestionSQL srver 2000 and C# Connection error Pin
Gulfaraz20-Aug-08 20:52
Gulfaraz20-Aug-08 20:52 
AnswerRe: SQL srver 2000 and C# Connection error Pin
Blue_Boy20-Aug-08 21:12
Blue_Boy20-Aug-08 21:12 
QuestionHow do i? Pin
Silvyster20-Aug-08 16:05
Silvyster20-Aug-08 16:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.