Click here to Skip to main content
15,898,769 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to expose an event in user control Pin
nuttynibbles1-Feb-10 16:51
nuttynibbles1-Feb-10 16:51 
QuestionAdding and removing differences from List compared to another list Pin
zagitta1-Feb-10 10:34
zagitta1-Feb-10 10:34 
AnswerRe: Adding and removing differences from List compared to another list Pin
#realJSOP1-Feb-10 10:51
professional#realJSOP1-Feb-10 10:51 
GeneralRe: Adding and removing differences from List compared to another list Pin
zagitta1-Feb-10 11:29
zagitta1-Feb-10 11:29 
GeneralRe: Adding and removing differences from List compared to another list Pin
#realJSOP1-Feb-10 23:20
professional#realJSOP1-Feb-10 23:20 
GeneralRe: Adding and removing differences from List compared to another list Pin
zagitta2-Feb-10 2:55
zagitta2-Feb-10 2:55 
GeneralRe: Adding and removing differences from List compared to another list Pin
Dan Mos2-Feb-10 7:36
Dan Mos2-Feb-10 7:36 
GeneralRe: Adding and removing differences from List compared to another list [modified] Pin
zagitta3-Feb-10 4:37
zagitta3-Feb-10 4:37 
actually i did use a dictionary but changed it to a list for various reasons, anyway i think i'll try to make a reverse for loop like this:
for(int i = GetLengthOfLongestList(); i>0; i--)
{
try
{
var currentNewObject=newList[i];
}
catch
{
//do some stuff here to avoid use later
}
and a 
try
{
var currentOldObject=oldList[i];
}
catch
{
//do some stuff here to avoid use later
}
/after checks
oldList.removeAt(i);
//or
oldList.add(currentNewObject);
}
}


modified on Wednesday, February 3, 2010 10:46 AM

GeneralRe: Adding and removing differences from List compared to another list Pin
Luc Pattyn1-Feb-10 12:15
sitebuilderLuc Pattyn1-Feb-10 12:15 
GeneralRe: Adding and removing differences from List compared to another list Pin
#realJSOP1-Feb-10 23:22
professional#realJSOP1-Feb-10 23:22 
Questionsql instances and a deuced connection Pin
reza assar1-Feb-10 10:27
reza assar1-Feb-10 10:27 
AnswerRe: sql instances and a deuced connection Pin
Rutvik Dave1-Feb-10 10:39
professionalRutvik Dave1-Feb-10 10:39 
QuestionC1Flexgrid datetime picker background color Pin
Member 13252301-Feb-10 10:26
Member 13252301-Feb-10 10:26 
Questionsetup and deployment Pin
reza assar1-Feb-10 10:15
reza assar1-Feb-10 10:15 
QuestionHow to hide a network connection from the user and run that connection using C# code Pin
CoderForEver1-Feb-10 9:29
CoderForEver1-Feb-10 9:29 
AnswerRe: How to hide a network connection from the user and run that connection using C# code Pin
PIEBALDconsult1-Feb-10 15:07
mvePIEBALDconsult1-Feb-10 15:07 
GeneralRe: How to hide a network connection from the user and run that connection using C# code Pin
CoderForEver1-Feb-10 19:05
CoderForEver1-Feb-10 19:05 
QuestionWhich ones are free databases? Pin
Aseem Sharma1-Feb-10 5:40
Aseem Sharma1-Feb-10 5:40 
AnswerRe: Which ones are free databases? [modified] Pin
Covean1-Feb-10 5:49
Covean1-Feb-10 5:49 
GeneralRe: Which ones are free databases? Pin
vivasaayi1-Feb-10 6:47
vivasaayi1-Feb-10 6:47 
AnswerRe: Which ones are free databases? Pin
PIEBALDconsult1-Feb-10 8:13
mvePIEBALDconsult1-Feb-10 8:13 
GeneralRe: Which ones are free databases? Pin
Luc Pattyn1-Feb-10 8:15
sitebuilderLuc Pattyn1-Feb-10 8:15 
AnswerRe: Which ones are free databases? Pin
Daniel Grunwald1-Feb-10 23:02
Daniel Grunwald1-Feb-10 23:02 
QuestionHide row in Tablelayoutpanel in c# Pin
anoopkamboj1-Feb-10 4:36
anoopkamboj1-Feb-10 4:36 
AnswerRe: Hide row in Tablelayoutpanel in c# Pin
Not Active1-Feb-10 4:40
mentorNot Active1-Feb-10 4:40 

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.