Click here to Skip to main content
15,881,139 members
Home / Discussions / C#
   

C#

 
AnswerRe: Type Overflow... Pin
phil.o15-Nov-19 0:46
professionalphil.o15-Nov-19 0:46 
GeneralRe: Type Overflow... Pin
Bernhard Hiller15-Nov-19 0:49
Bernhard Hiller15-Nov-19 0:49 
AnswerRe: Type Overflow... Pin
Richard Deeming15-Nov-19 1:20
mveRichard Deeming15-Nov-19 1:20 
GeneralRe: Type Overflow... Pin
Bernhard Hiller15-Nov-19 4:55
Bernhard Hiller15-Nov-19 4:55 
QuestionAdding panels dynamically through user input Pin
jacko112313-Nov-19 1:34
jacko112313-Nov-19 1:34 
AnswerRe: Adding panels dynamically through user input Pin
OriginalGriff13-Nov-19 1:45
mveOriginalGriff13-Nov-19 1:45 
GeneralRe: Adding panels dynamically through user input Pin
jacko112313-Nov-19 2:20
jacko112313-Nov-19 2:20 
SuggestionRe: Adding panels dynamically through user input Pin
Richard Deeming13-Nov-19 1:58
mveRichard Deeming13-Nov-19 1:58 
jacko1123 wrote:
C#
listPanel[index++].Visible = true;
listPanel[--index].Show();
I would suggest you remove those inline increment and decrement operators, since the net result is the same as:
C#
listPanel[index].Visible = true;
listPanel[index].Show();
Since you never use the incremented value of index, those operators serve no purpose other than obfuscating your code.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

GeneralRe: Adding panels dynamically through user input Pin
jacko112313-Nov-19 2:19
jacko112313-Nov-19 2:19 
AnswerRe: Adding panels dynamically through user input Pin
Luc Pattyn13-Nov-19 3:12
sitebuilderLuc Pattyn13-Nov-19 3:12 
QuestionHow to Import database.mdf file in Visual Studio 2010 Project Pin
Member 1464246911-Nov-19 23:59
Member 1464246911-Nov-19 23:59 
AnswerRe: How to Import database.mdf file in Visual Studio 2010 Project Pin
OriginalGriff12-Nov-19 0:07
mveOriginalGriff12-Nov-19 0:07 
GeneralRe: How to Import database.mdf file in Visual Studio 2010 Project Pin
Member 1464246912-Nov-19 0:29
Member 1464246912-Nov-19 0:29 
GeneralRe: How to Import database.mdf file in Visual Studio 2010 Project Pin
OriginalGriff12-Nov-19 0:46
mveOriginalGriff12-Nov-19 0:46 
GeneralRe: How to Import database.mdf file in Visual Studio 2010 Project Pin
Member 1464246912-Nov-19 18:28
Member 1464246912-Nov-19 18:28 
GeneralRe: How to Import database.mdf file in Visual Studio 2010 Project Pin
OriginalGriff12-Nov-19 20:44
mveOriginalGriff12-Nov-19 20:44 
Questionc++ DLL import in c# Pin
Member 1465244911-Nov-19 19:49
Member 1465244911-Nov-19 19:49 
AnswerRe: c++ DLL import in c# Pin
Richard MacCutchan11-Nov-19 21:12
mveRichard MacCutchan11-Nov-19 21:12 
GeneralRe: c++ DLL import in c# Pin
Member 1465244912-Nov-19 19:44
Member 1465244912-Nov-19 19:44 
GeneralRe: c++ DLL import in c# Pin
Richard MacCutchan12-Nov-19 22:09
mveRichard MacCutchan12-Nov-19 22:09 
QuestionCode not splitting for login form. C# Pin
Member 1465157011-Nov-19 1:10
Member 1465157011-Nov-19 1:10 
AnswerRe: Code not splitting for login form. C# Pin
phil.o11-Nov-19 1:19
professionalphil.o11-Nov-19 1:19 
AnswerRe: Code not splitting for login form. C# Pin
Richard MacCutchan11-Nov-19 1:32
mveRichard MacCutchan11-Nov-19 1:32 
GeneralRe: Code not splitting for login form. C# Pin
OriginalGriff11-Nov-19 1:32
mveOriginalGriff11-Nov-19 1:32 
GeneralRe: Code not splitting for login form. C# Pin
Richard MacCutchan11-Nov-19 1:50
mveRichard MacCutchan11-Nov-19 1:50 

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.