Click here to Skip to main content
15,891,633 members
Home / Discussions / C#
   

C#

 
JokeRe: Unique enumeration permutations... Pin
b33rdy28-Dec-05 22:51
b33rdy28-Dec-05 22:51 
AnswerRe: Unique enumeration permutations... Pin
leppie28-Dec-05 19:04
leppie28-Dec-05 19:04 
AnswerRe: Unique enumeration permutations... Pin
FatGeek29-Dec-05 2:42
professionalFatGeek29-Dec-05 2:42 
Questionuninstall service and set up project Pin
geekpunk28-Dec-05 11:51
geekpunk28-Dec-05 11:51 
AnswerRe: uninstall service and set up project Pin
imsathy29-Dec-05 2:58
imsathy29-Dec-05 2:58 
GeneralRe: uninstall service and set up project Pin
geekpunk29-Dec-05 3:37
geekpunk29-Dec-05 3:37 
GeneralRe: uninstall service and set up project Pin
imsathy29-Dec-05 19:32
imsathy29-Dec-05 19:32 
QuestionHow to access static member?? Pin
jinzhecheng28-Dec-05 11:10
jinzhecheng28-Dec-05 11:10 
I have a list definition,

public class List<br />
{<br />
 private int index;<br />
 private string name;<br />
<br />
}


and a table

<br />
 public class Table<br />
{<br />
public static List List1 = new List(1,"List1");<br />
public static List List2 = new List(2,"List2");<br />
...<br />
<br />
}


Now , if I want to add a method of Table

public class Table<br />
{<br />
public static List  GetListFromIndex( int index){...}<br />
}



How can I avoid a lot of "switch case"????
Thanks!. I know this maybe related to "reflection" , but cannot figure it out.
AnswerRe: How to access static member?? Pin
DavidNohejl28-Dec-05 12:06
DavidNohejl28-Dec-05 12:06 
Questionaccessing external applications thru code Pin
WetRivrRat28-Dec-05 10:34
WetRivrRat28-Dec-05 10:34 
Questioncurrentcell backcolor Pin
melanieab28-Dec-05 8:50
melanieab28-Dec-05 8:50 
AnswerRe: currentcell backcolor Pin
VPMahank29-Dec-05 6:46
VPMahank29-Dec-05 6:46 
GeneralRe: currentcell backcolor Pin
melanieab29-Dec-05 8:19
melanieab29-Dec-05 8:19 
Questionis scraping the right choice? Pin
JstDaNuGuy28-Dec-05 8:43
JstDaNuGuy28-Dec-05 8:43 
AnswerRe: is scraping the right choice? Pin
Dave Kreskowiak28-Dec-05 9:06
mveDave Kreskowiak28-Dec-05 9:06 
GeneralRe: is scraping the right choice? Pin
JstDaNuGuy28-Dec-05 9:08
JstDaNuGuy28-Dec-05 9:08 
GeneralRe: is scraping the right choice? Pin
kourvoisier28-Dec-05 20:25
kourvoisier28-Dec-05 20:25 
GeneralRe: is scraping the right choice? Pin
Michael P Butler29-Dec-05 0:27
Michael P Butler29-Dec-05 0:27 
QuestionSplitter problem Pin
VPMahank28-Dec-05 8:12
VPMahank28-Dec-05 8:12 
Questionicon loading page Pin
vandread128-Dec-05 6:06
vandread128-Dec-05 6:06 
AnswerRe: icon loading page Pin
Dave Kreskowiak28-Dec-05 6:30
mveDave Kreskowiak28-Dec-05 6:30 
QuestionLoading Webpage - Wait until page is loaded Pin
Seraphin28-Dec-05 5:56
Seraphin28-Dec-05 5:56 
AnswerRe: Loading Webpage - Wait until page is loaded Pin
Judah Gabriel Himango28-Dec-05 6:08
sponsorJudah Gabriel Himango28-Dec-05 6:08 
GeneralRe: Loading Webpage - Wait until page is loaded Pin
Seraphin28-Dec-05 6:29
Seraphin28-Dec-05 6:29 
GeneralRe: Loading Webpage - Wait until page is loaded Pin
peshkunta28-Dec-05 9:28
peshkunta28-Dec-05 9:28 

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.