Click here to Skip to main content
15,896,557 members
Home / Discussions / C#
   

C#

 
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 
hi,
zhe subject is that
class Class1 {
private string str = "class1.str";
private int i = 0;
static void StringConvert(string str) {
str = "string being converted.";
}
static void StringConvert(Class1 c) {
c.str = "string being converted.";
}
static void Add(int i) {
i++;
}
static void AddWithRef(ref int i) {
i++;
}
static void Main() {
int i1 = 10;
int i2 = 20;
string str = "str";
Class1 c = new Class1();
Add(i1);
AddWithRef(ref i2);
Add(c.i);
StringConvert(str);
StringConvert(c);
Console.WriteLine(i1);
Console.WriteLine(i2);
Console.WriteLine(c.i);
Console.WriteLine(str);
Console.WriteLine(c.str);
Console.Read();
}
tell me why "Console.WriteLine(str);" and "Console.WriteLine(c.str);"
zhe two sentence have two different results!
I know that zhe "string" is reference type!
but here i am puzzled!

modified on Saturday, June 20, 2009 8:09 AM

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 
Questionsend mail using c# Pin
sahandshokri19-Jun-09 11:42
sahandshokri19-Jun-09 11:42 
AnswerRe: send mail using c# Pin
blackhattrick19-Jun-09 11:46
blackhattrick19-Jun-09 11:46 
AnswerRe: send mail using c# Pin
Christian Graus19-Jun-09 12:42
protectorChristian Graus19-Jun-09 12:42 
GeneralRe: send mail using c# Pin
rishavraj19-Jun-09 23:55
rishavraj19-Jun-09 23:55 
QuestionSystem.Security.SecurityException Pin
lump1067019-Jun-09 11:25
lump1067019-Jun-09 11:25 
AnswerRe: System.Security.SecurityException Pin
Christian Graus19-Jun-09 11:34
protectorChristian Graus19-Jun-09 11:34 
GeneralRe: System.Security.SecurityException Pin
lump1067022-Jun-09 2:24
lump1067022-Jun-09 2:24 
Questiontwo way serial communication Pin
Arpita Patel19-Jun-09 11:05
Arpita Patel19-Jun-09 11:05 
AnswerRe: two way serial communication Pin
Luc Pattyn19-Jun-09 11:45
sitebuilderLuc Pattyn19-Jun-09 11:45 
GeneralRe: two way serial communication Pin
PIEBALDconsult19-Jun-09 12:53
mvePIEBALDconsult19-Jun-09 12:53 
GeneralRe: two way serial communication Pin
Luc Pattyn19-Jun-09 12:58
sitebuilderLuc Pattyn19-Jun-09 12:58 
Questiontrying to communication between two form in different project under one solution Pin
Arpita Patel19-Jun-09 10:25
Arpita Patel19-Jun-09 10:25 
AnswerRe: trying to communication between two form in different project under one solution Pin
Christian Graus19-Jun-09 11:20
protectorChristian Graus19-Jun-09 11:20 
AnswerRe: trying to communication between two form in different project under one solution Pin
Shukla Rahul20-Jun-09 10:24
Shukla Rahul20-Jun-09 10:24 
QuestionC# command to turn off pc Pin
Samb198519-Jun-09 9:31
Samb198519-Jun-09 9:31 
AnswerRe: C# command to turn off pc Pin
MumbleB19-Jun-09 9:51
MumbleB19-Jun-09 9:51 

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.