Click here to Skip to main content
15,898,996 members
Home / Discussions / C#
   

C#

 
QuestionC++ to C# [modified] Pin
sreecahitu12-Apr-08 18:29
sreecahitu12-Apr-08 18:29 
GeneralRe: C++ to C# Pin
Tjie Pouw12-Apr-08 19:45
Tjie Pouw12-Apr-08 19:45 
GeneralRe: C++ to C# Pin
pmarfleet13-Apr-08 3:09
pmarfleet13-Apr-08 3:09 
GeneralRe: C++ to C# Pin
Christian Graus13-Apr-08 11:22
protectorChristian Graus13-Apr-08 11:22 
GeneralRe: C++ to C# Pin
Dave Doknjas13-Apr-08 12:34
Dave Doknjas13-Apr-08 12:34 
GeneralRe: C++ to C# Pin
Ravenet13-Apr-08 16:06
Ravenet13-Apr-08 16:06 
QuestionCan someone tell me how to solve this problem? Pin
Silvyster12-Apr-08 17:52
Silvyster12-Apr-08 17:52 
GeneralRe: Can someone tell me how to solve this problem? Pin
Christian Graus12-Apr-08 18:24
protectorChristian Graus12-Apr-08 18:24 
Silvyster wrote:
while (line != "")
{
// check the value of the line
if (line.Equals(""))


Why are you checking it both ways ? What happens if you step through the code ? Why are you using .Equals ?

File.ReadAllLines is the easiest way to get your file as an array of strings.

Christian Graus

Please read this if you don't understand the answer I've given you

"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

GeneralRe: Can someone tell me how to solve this problem? Pin
PIEBALDconsult13-Apr-08 5:32
mvePIEBALDconsult13-Apr-08 5:32 
GeneralRe: Can someone tell me how to solve this problem? Pin
Silvyster13-Apr-08 13:10
Silvyster13-Apr-08 13:10 
GeneralRe: Can someone tell me how to solve this problem? Pin
PIEBALDconsult13-Apr-08 14:18
mvePIEBALDconsult13-Apr-08 14:18 
GeneralRe: Can someone tell me how to solve this problem? Pin
Silvyster13-Apr-08 18:34
Silvyster13-Apr-08 18:34 
GeneralRe: Can someone tell me how to solve this problem? Pin
PIEBALDconsult14-Apr-08 17:01
mvePIEBALDconsult14-Apr-08 17:01 
QuestionEncoding info of a certain file Pin
califgal12-Apr-08 16:09
califgal12-Apr-08 16:09 
GeneralRe: Encoding info of a certain file Pin
Elina Blank16-Apr-08 7:09
sitebuilderElina Blank16-Apr-08 7:09 
QuestionPeriodic update [modified] Pin
GIS Anthony12-Apr-08 15:46
GIS Anthony12-Apr-08 15:46 
GeneralRe: Periodic update Pin
Christian Graus12-Apr-08 16:37
protectorChristian Graus12-Apr-08 16:37 
GeneralRe: Periodic update Pin
GIS Anthony12-Apr-08 16:44
GIS Anthony12-Apr-08 16:44 
GeneralConnecting string ADO.NET for MySQL Pin
Tjie Pouw12-Apr-08 14:08
Tjie Pouw12-Apr-08 14:08 
GeneralRe: Connecting string ADO.NET for MySQL Pin
Christian Graus12-Apr-08 14:10
protectorChristian Graus12-Apr-08 14:10 
GeneralRe: Connecting string ADO.NET for MySQL Pin
Not Active12-Apr-08 14:52
mentorNot Active12-Apr-08 14:52 
GeneralRe: Connecting string ADO.NET for MySQL Pin
Christian Graus12-Apr-08 15:11
protectorChristian Graus12-Apr-08 15:11 
GeneralRe: Connecting string ADO.NET for MySQL Pin
Tjie Pouw12-Apr-08 19:32
Tjie Pouw12-Apr-08 19:32 
GeneralRe: Connecting string ADO.NET for MySQL Pin
Ravenet13-Apr-08 16:09
Ravenet13-Apr-08 16:09 
QuestionRouter Configuration? Pin
AhmedOsamaMoh12-Apr-08 13:15
AhmedOsamaMoh12-Apr-08 13:15 

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.