Click here to Skip to main content
15,923,120 members
Home / Discussions / C#
   

C#

 
GeneralRe: How do I check whether the "X" button in the top right corner was clicked? Pin
Etienne_12321-Jun-09 11:52
Etienne_12321-Jun-09 11:52 
QuestionNeed Easy Insert Method Pin
M Riaz Bashir20-Jun-09 2:30
M Riaz Bashir20-Jun-09 2:30 
AnswerRe: Need Easy Insert Method Pin
Manas Bhardwaj20-Jun-09 3:11
professionalManas Bhardwaj20-Jun-09 3:11 
QuestionGDI+ how to not painting the background image [modified] Pin
cppwxwidgetsss20-Jun-09 1:44
cppwxwidgetsss20-Jun-09 1:44 
AnswerRe: GDI+ how to not painting the background image Pin
Luc Pattyn20-Jun-09 1:57
sitebuilderLuc Pattyn20-Jun-09 1:57 
GeneralRe: GDI+ how to not painting the background image [modified] Pin
cppwxwidgetsss20-Jun-09 2:11
cppwxwidgetsss20-Jun-09 2:11 
QuestionIP address in to varient Pin
sudhi16419-Jun-09 20:17
sudhi16419-Jun-09 20:17 
AnswerRe: IP address in to varient Pin
Christian Graus19-Jun-09 20:22
protectorChristian Graus19-Jun-09 20:22 
QuestionGetting Message: "Couldn't Update; Currently Locked" in mdb Pin
honeyashu19-Jun-09 20:03
honeyashu19-Jun-09 20:03 
AnswerRe: Getting Message: "Couldn't Update; Currently Locked" in mdb Pin
Christian Graus19-Jun-09 20:07
protectorChristian Graus19-Jun-09 20:07 
Questiongetting the parent control from a child control at runtime. Pin
Xandip19-Jun-09 19:32
Xandip19-Jun-09 19:32 
AnswerRe: getting the parent control from a child control at runtime. Pin
Christian Graus19-Jun-09 19:46
protectorChristian Graus19-Jun-09 19:46 
GeneralRe: getting the parent control from a child control at runtime. Pin
Xandip19-Jun-09 19:50
Xandip19-Jun-09 19:50 
QuestionSelecting Color Scheme from withing app Pin
Nigel Mackay19-Jun-09 19:03
Nigel Mackay19-Jun-09 19:03 
AnswerRe: Selecting Color Scheme from withing app Pin
Christian Graus19-Jun-09 19:45
protectorChristian Graus19-Jun-09 19:45 
GeneralRe: Selecting Color Scheme from withing app Pin
Nigel Mackay19-Jun-09 20:49
Nigel Mackay19-Jun-09 20:49 
QuestionOpen link in new Tab when Mouse Middle Click... Pin
Baeltazor19-Jun-09 18:36
Baeltazor19-Jun-09 18:36 
AnswerRe: Open link in new Tab when Mouse Middle Click... Pin
Christian Graus19-Jun-09 19:44
protectorChristian Graus19-Jun-09 19:44 
GeneralRe: Open link in new Tab when Mouse Middle Click... Pin
Baeltazor19-Jun-09 21:25
Baeltazor19-Jun-09 21:25 
GeneralRe: Open link in new Tab when Mouse Middle Click... Pin
Christian Graus19-Jun-09 21:56
protectorChristian Graus19-Jun-09 21:56 
GeneralRe: Open link in new Tab when Mouse Middle Click... Pin
Baeltazor19-Jun-09 22:33
Baeltazor19-Jun-09 22:33 
GeneralRe: Open link in new Tab when Mouse Middle Click... Pin
Christian Graus19-Jun-09 22:46
protectorChristian Graus19-Jun-09 22:46 
GeneralRe: Open link in new Tab when Mouse Middle Click... Pin
Baeltazor19-Jun-09 22:52
Baeltazor19-Jun-09 22:52 
QuestionAbout string ,and help me to solution one problom about zhe value and reference type! Thank you! [modified] Pin
gjllyl19-Jun-09 14:40
gjllyl19-Jun-09 14:40 
AnswerRe: About string ,and help me to solution one problom about zhe value and reference type! Thank you! Pin
Gideon Engelberth19-Jun-09 17:31
Gideon Engelberth19-Jun-09 17:31 
While you are correct that string is a reference type, you cannot change which string the local variable str in Main is referencing from the StringConvert function since you pass it by value. All you can do is make the parameter to StringConvert refer to another string, which will have no effect outside the function.

In the case where you passed a Class1, you are modifying the reference contained in the object referred to by the parameter, which is the same object referred to in Main. If you had put the line c = new Class1(); as the first line in StringConvert, it would no longer change the value in Main because the parameter in StringConvert would now be referring to a different object.

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.