Click here to Skip to main content
15,889,780 members
Home / Discussions / C#
   

C#

 
GeneralRe: if someone could help me identify the problem please. Pin
PIEBALDconsult23-Jul-09 7:30
mvePIEBALDconsult23-Jul-09 7:30 
GeneralRe: if someone could help me identify the problem please. Pin
Nagy Vilmos23-Jul-09 7:46
professionalNagy Vilmos23-Jul-09 7:46 
GeneralRe: if someone could help me identify the problem please. Pin
PIEBALDconsult23-Jul-09 7:48
mvePIEBALDconsult23-Jul-09 7:48 
GeneralRe: if someone could help me identify the problem please. Pin
LetMeFinclOut23-Jul-09 12:15
LetMeFinclOut23-Jul-09 12:15 
GeneralRe: if someone could help me identify the problem please. [modified] Pin
Luc Pattyn23-Jul-09 7:33
sitebuilderLuc Pattyn23-Jul-09 7:33 
GeneralRe: if someone could help me identify the problem please. Pin
Nagy Vilmos23-Jul-09 7:46
professionalNagy Vilmos23-Jul-09 7:46 
GeneralRe: if someone could help me identify the problem please. Pin
Curtis Schlak.23-Jul-09 18:02
Curtis Schlak.23-Jul-09 18:02 
GeneralRe: if someone could help me identify the problem please. Pin
Adam R Harris23-Jul-09 7:50
Adam R Harris23-Jul-09 7:50 
Ummm .... they both work.
Case in point;
 static void Main(string[] args)
 {
     string strTest1 = "This is a test";
     string strTest2 = "This is a second test";

     Console.WriteLine("strTest1 == strTest2 : {0}", strTest1 == strTest2);
     Console.WriteLine("strTest1 == \"This is a test\" : {0}", strTest1 == "This is a test");
     Console.WriteLine("strTest1.Equals(strTest2) : {0}", strTest1.Equals(strTest2));
     Console.WriteLine("strTest1.Equals(\"This is a test\") : {0}", strTest1.Equals("This is a test"));
     Console.ReadLine();
}


output

strTest1 == strTest2 : False
strTest1 == "This is a test" : True
strTest1.Equals(strTest2) : False
strTest1.Equals("This is a test") : True


If at first you don't succeed ... post it on The Code Project and Pray.

GeneralRe: if someone could help me identify the problem please. Pin
Luc Pattyn3-Sep-09 5:17
sitebuilderLuc Pattyn3-Sep-09 5:17 
AnswerRe: if someone could help me identify the problem please. Pin
PIEBALDconsult23-Jul-09 7:49
mvePIEBALDconsult23-Jul-09 7:49 
AnswerRe: if someone could help me identify the problem please. Pin
DinoRondelly23-Jul-09 8:32
DinoRondelly23-Jul-09 8:32 
GeneralRe: if someone could help me identify the problem please. Pin
PIEBALDconsult23-Jul-09 12:45
mvePIEBALDconsult23-Jul-09 12:45 
QuestionHow to inject code to assembly (inject new class)? Pin
hdv21223-Jul-09 7:14
hdv21223-Jul-09 7:14 
QuestionPass data between two child forms Pin
Saamir23-Jul-09 6:56
Saamir23-Jul-09 6:56 
AnswerRe: Pass data between two child forms Pin
musefan23-Jul-09 7:00
musefan23-Jul-09 7:00 
GeneralRe: Pass data between two child forms Pin
Saamir23-Jul-09 7:14
Saamir23-Jul-09 7:14 
GeneralRe: Pass data between two child forms Pin
Saamir23-Jul-09 7:25
Saamir23-Jul-09 7:25 
AnswerRe: Pass data between two child forms Pin
Giorgi Dalakishvili23-Jul-09 7:45
mentorGiorgi Dalakishvili23-Jul-09 7:45 
QuestionProblem with overriding minimization of Form with Wndproc Pin
ThomasManz23-Jul-09 6:16
ThomasManz23-Jul-09 6:16 
AnswerRe: Problem with overriding minimization of Form with Wndproc Pin
musefan23-Jul-09 6:57
musefan23-Jul-09 6:57 
GeneralRe: Problem with overriding minimization of Form with Wndproc Pin
ThomasManz29-Jul-09 10:09
ThomasManz29-Jul-09 10:09 
QuestionThrowing exception while Copying a file from a system to a shared location in another system Pin
cdewzrd23-Jul-09 4:35
cdewzrd23-Jul-09 4:35 
AnswerRe: Throwing exception while Copying a file from a system to a shared location in another system Pin
DoctorMick23-Jul-09 5:19
DoctorMick23-Jul-09 5:19 
QuestionButtons look different with DirectX Pin
Jordanwb23-Jul-09 4:30
Jordanwb23-Jul-09 4:30 
AnswerRe: Buttons look different with DirectX Pin
Nagy Vilmos23-Jul-09 6:32
professionalNagy Vilmos23-Jul-09 6:32 

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.