Click here to Skip to main content
15,899,641 members
Home / Discussions / C#
   

C#

 
GeneralRe: GUI User Control does not repaint it self properly after resizing it... Pin
Shultz 211-Dec-10 4:59
Shultz 211-Dec-10 4:59 
AnswerRe: GUI User Control does not repaint it self properly after resizing it... Pin
Dr.Walt Fair, PE11-Dec-10 5:29
professionalDr.Walt Fair, PE11-Dec-10 5:29 
GeneralRe: GUI User Control does not repaint it self properly after resizing it... Pin
Shultz 211-Dec-10 11:14
Shultz 211-Dec-10 11:14 
QuestionSaving a word document(2000 to 2010) to xml Pin
Haim Nachum10-Dec-10 6:13
Haim Nachum10-Dec-10 6:13 
AnswerRe: Saving a word document(2000 to 2010) to xml Pin
Not Active10-Dec-10 10:26
mentorNot Active10-Dec-10 10:26 
AnswerRe: Saving a word document(2000 to 2010) to xml Pin
Yvan Rodrigues12-Dec-10 14:18
professionalYvan Rodrigues12-Dec-10 14:18 
GeneralRe: Saving a word document(2000 to 2010) to xml Pin
Haim Nachum12-Dec-10 22:57
Haim Nachum12-Dec-10 22:57 
QuestionSwitch with multiple variables Pin
jadughar10-Dec-10 4:24
jadughar10-Dec-10 4:24 
Hi
don't know if this is the right place where to post.
But i was wondering if is possible to use switch statement with multiple variables, something as below :

int x = 0;
int y = 1;

switch(x,y)
{
case 1,0 :
 Console.WriteLine("1,0");
 break;
case 0,1 :
 Console.WriteLine("0,1");
 break;
case 1,1 :
 Console.WriteLine("1,1");
 break:
default :
 Console.WriteLine("0,0");
}


thanks bye
"For as long as men massacre animals, they will kill each other. Indeed, he who sows the seed of murder and pain cannot reap joy and love." Pythagoras

AnswerRe: Switch with multiple variables Pin
Luc Pattyn10-Dec-10 4:29
sitebuilderLuc Pattyn10-Dec-10 4:29 
GeneralRe: Switch with multiple variables Pin
jadughar10-Dec-10 5:01
jadughar10-Dec-10 5:01 
GeneralRe: Switch with multiple variables Pin
Luc Pattyn10-Dec-10 5:07
sitebuilderLuc Pattyn10-Dec-10 5:07 
GeneralRe: Switch with multiple variables Pin
jadughar10-Dec-10 5:43
jadughar10-Dec-10 5:43 
GeneralRe: Switch with multiple variables Pin
Luc Pattyn10-Dec-10 5:45
sitebuilderLuc Pattyn10-Dec-10 5:45 
GeneralRe: Switch with multiple variables Pin
PIEBALDconsult10-Dec-10 12:08
mvePIEBALDconsult10-Dec-10 12:08 
AnswerRe: Switch with multiple variables Pin
Eddy Vluggen10-Dec-10 5:03
professionalEddy Vluggen10-Dec-10 5:03 
AnswerRe: Switch with multiple variables Pin
harold aptroot10-Dec-10 5:04
harold aptroot10-Dec-10 5:04 
AnswerRe: Switch with multiple variables Pin
PIEBALDconsult10-Dec-10 7:58
mvePIEBALDconsult10-Dec-10 7:58 
GeneralRe: Switch with multiple variables Pin
jadughar10-Dec-10 8:41
jadughar10-Dec-10 8:41 
GeneralRe: Switch with multiple variables Pin
AspDotNetDev10-Dec-10 13:12
protectorAspDotNetDev10-Dec-10 13:12 
GeneralRe: Switch with multiple variables Pin
PIEBALDconsult10-Dec-10 14:15
mvePIEBALDconsult10-Dec-10 14:15 
AnswerRe: Switch with multiple variables Pin
Henry Minute10-Dec-10 11:04
Henry Minute10-Dec-10 11:04 
GeneralRe: Switch with multiple variables Pin
Luc Pattyn10-Dec-10 11:19
sitebuilderLuc Pattyn10-Dec-10 11:19 
GeneralRe: Switch with multiple variables Pin
Henry Minute10-Dec-10 11:22
Henry Minute10-Dec-10 11:22 
Questionprerequisites to learn sharepoint Pin
KrishnaRayalu_Talisetti9-Dec-10 23:23
KrishnaRayalu_Talisetti9-Dec-10 23:23 
AnswerRe: prerequisites to learn sharepoint Pin
Pete O'Hanlon9-Dec-10 23:36
mvePete O'Hanlon9-Dec-10 23:36 

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.