Click here to Skip to main content
15,908,841 members
Home / Discussions / C#
   

C#

 
AnswerRe: Help writing a program which adds up values in a 2D array to determine if it is a magic square Pin
BillWoodruff20-Jan-14 9:08
professionalBillWoodruff20-Jan-14 9:08 
QuestionCustom Data Types Pin
sunsilk1020-Jan-14 3:04
sunsilk1020-Jan-14 3:04 
Hello, I have created a class to read an xml file, which contains 5 different list of tables. Therefore I have 5 different custom lists

List<listtables1>, List<listtables2> etc..

I would like to create a function to process any one of the 5 lists based on the user type.

Any ideas what is the best way to achieve this, instead of creating 5 different functions?

private void ProcessTableList()

{

// Need to declare a variable of type depending on user type

e.g. List<listtables1> customList = new List<listtables1>

for(int i=0; customList.countl i++)
{
//do something
}

}
.

modified 20-Jan-14 9:23am.

AnswerRe: Custom Data Types Pin
Manfred Rudolf Bihy20-Jan-14 3:25
professionalManfred Rudolf Bihy20-Jan-14 3:25 
AnswerRe: Custom Data Types Pin
BillWoodruff20-Jan-14 5:13
professionalBillWoodruff20-Jan-14 5:13 
AnswerRe: Custom Data Types Pin
Freak3020-Jan-14 23:30
Freak3020-Jan-14 23:30 
QuestionC# with Oraclei Pin
Nightbird.14319-Jan-14 21:00
Nightbird.14319-Jan-14 21:00 
AnswerRe: C# with Oraclei Pin
V.19-Jan-14 21:49
professionalV.19-Jan-14 21:49 
QuestionMulti Desktop app, Need to take Screen short of a given desktop using handle. Pin
ptr_Electron19-Jan-14 19:23
ptr_Electron19-Jan-14 19:23 
AnswerRe: Multi Desktop app, Need to take Screen short of a given desktop using handle. Pin
Mycroft Holmes19-Jan-14 21:02
professionalMycroft Holmes19-Jan-14 21:02 
GeneralRe: Multi Desktop app, Need to take Screen short of a given desktop using handle. Pin
ptr_Electron20-Jan-14 0:40
ptr_Electron20-Jan-14 0:40 
AnswerRe: Multi Desktop app, Need to take Screen short of a given desktop using handle. Pin
Bernhard Hiller20-Jan-14 3:47
Bernhard Hiller20-Jan-14 3:47 
GeneralRe: Multi Desktop app, Need to take Screen short of a given desktop using handle. Pin
ptr_Electron20-Jan-14 7:11
ptr_Electron20-Jan-14 7:11 
QuestionSuggestion required for Accounting Software core infrastructure VS2010 C# MySql Pin
ahmed_one19-Jan-14 18:48
ahmed_one19-Jan-14 18:48 
AnswerRe: Suggestion required for Accounting Software core infrastructure VS2010 C# MySql Pin
Mycroft Holmes19-Jan-14 20:57
professionalMycroft Holmes19-Jan-14 20:57 
GeneralRe: Suggestion required for Accounting Software core infrastructure VS2010 C# MySql Pin
ahmed_one19-Jan-14 21:11
ahmed_one19-Jan-14 21:11 
GeneralRe: Suggestion required for Accounting Software core infrastructure VS2010 C# MySql Pin
Trak4Net20-Jan-14 9:01
Trak4Net20-Jan-14 9:01 
GeneralRe: Suggestion required for Accounting Software core infrastructure VS2010 C# MySql Pin
ahmed_one20-Jan-14 17:05
ahmed_one20-Jan-14 17:05 
Questioncreate and use .DLL Pin
DrooBo19-Jan-14 6:28
DrooBo19-Jan-14 6:28 
SuggestionRe: create and use .DLL Pin
Richard MacCutchan19-Jan-14 6:52
mveRichard MacCutchan19-Jan-14 6:52 
AnswerRe: create and use .DLL Pin
Dave Kreskowiak19-Jan-14 6:57
mveDave Kreskowiak19-Jan-14 6:57 
AnswerRe: create and use .DLL Pin
DrooBo19-Jan-14 7:30
DrooBo19-Jan-14 7:30 
GeneralRe: create and use .DLL Pin
Dave Kreskowiak19-Jan-14 10:22
mveDave Kreskowiak19-Jan-14 10:22 
GeneralRe: create and use .DLL Pin
Richard MacCutchan19-Jan-14 22:36
mveRichard MacCutchan19-Jan-14 22:36 
AnswerRe: create and use .DLL Pin
Ron Beyer19-Jan-14 10:38
professionalRon Beyer19-Jan-14 10:38 
GeneralRe: create and use .DLL Pin
BillWoodruff19-Jan-14 12:58
professionalBillWoodruff19-Jan-14 12:58 

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.