Click here to Skip to main content
15,909,939 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Done with spinners Pin
dandy729-Dec-19 5:15
dandy729-Dec-19 5:15 
GeneralRe: Done with spinners Pin
Mark_Wallace8-Dec-19 12:47
Mark_Wallace8-Dec-19 12:47 
GeneralRe: Done with spinners Pin
Daniel Pfeffer8-Dec-19 21:35
professionalDaniel Pfeffer8-Dec-19 21:35 
RantThanks once again Microsoft, this time for not documenting C#/.NET behavior Pin
honey the codewitch8-Dec-19 4:03
mvahoney the codewitch8-Dec-19 4:03 
GeneralRe: Thanks once again Microsoft, this time for not documenting C#/.NET behavior Pin
OriginalGriff8-Dec-19 4:57
mveOriginalGriff8-Dec-19 4:57 
GeneralRe: Thanks once again Microsoft, this time for not documenting C#/.NET behavior Pin
honey the codewitch8-Dec-19 4:59
mvahoney the codewitch8-Dec-19 4:59 
GeneralRe: Thanks once again Microsoft, this time for not documenting C#/.NET behavior Pin
Afzaal Ahmad Zeeshan8-Dec-19 6:39
professionalAfzaal Ahmad Zeeshan8-Dec-19 6:39 
GeneralRe: Thanks once again Microsoft, this time for not documenting C#/.NET behavior Pin
honey the codewitch8-Dec-19 6:42
mvahoney the codewitch8-Dec-19 6:42 
To be clear, I didn't want it to not compile. I actually wanted it to work if it didn't box.

Turns out i don't really need the check there anyway, I was primarily just seeing if it would work before i inserted it into my more complex routines that do batch copies of segments of the array.

What I wanted was to avoid doing things like calling Array.Clear unless it was a reference type but i wanted to check that without boxing. Unfortunately it boxes. That's okay for my methods where i must clear whole segments, but not where I'm clearing an individual item.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

GeneralRe: Thanks once again Microsoft, this time for not documenting C#/.NET behavior Pin
Sander Rossel8-Dec-19 8:17
professionalSander Rossel8-Dec-19 8:17 
GeneralRe: Thanks once again Microsoft, this time for not documenting C#/.NET behavior Pin
honey the codewitch8-Dec-19 8:18
mvahoney the codewitch8-Dec-19 8:18 
GeneralRe: Thanks once again Microsoft, this time for not documenting C#/.NET behavior Pin
Sander Rossel8-Dec-19 8:37
professionalSander Rossel8-Dec-19 8:37 
GeneralRe: Thanks once again Microsoft, this time for not documenting C#/.NET behavior Pin
honey the codewitch8-Dec-19 8:42
mvahoney the codewitch8-Dec-19 8:42 
GeneralRe: Thanks once again Microsoft, this time for not documenting C#/.NET behavior Pin
Sander Rossel8-Dec-19 9:35
professionalSander Rossel8-Dec-19 9:35 
GeneralRe: Thanks once again Microsoft, this time for not documenting C#/.NET behavior Pin
honey the codewitch8-Dec-19 9:36
mvahoney the codewitch8-Dec-19 9:36 
GeneralRe: Thanks once again Microsoft, this time for not documenting C#/.NET behavior Pin
Sander Rossel8-Dec-19 9:45
professionalSander Rossel8-Dec-19 9:45 
GeneralRe: Thanks once again Microsoft, this time for not documenting C#/.NET behavior Pin
PIEBALDconsult8-Dec-19 8:19
mvePIEBALDconsult8-Dec-19 8:19 
GeneralRe: Thanks once again Microsoft, this time for not documenting C#/.NET behavior Pin
Dave Kreskowiak8-Dec-19 8:48
mveDave Kreskowiak8-Dec-19 8:48 
GeneralRe: Thanks once again Microsoft, this time for not documenting C#/.NET behavior Pin
honey the codewitch8-Dec-19 8:58
mvahoney the codewitch8-Dec-19 8:58 
GeneralThis is why I don't talk to people... Pin
Sander Rossel8-Dec-19 1:39
professionalSander Rossel8-Dec-19 1:39 
GeneralRe: This is why I don't talk to people... Pin
Cp-Coder8-Dec-19 1:55
Cp-Coder8-Dec-19 1:55 
GeneralRe: This is why I don't talk to people... Pin
Sander Rossel8-Dec-19 2:08
professionalSander Rossel8-Dec-19 2:08 
GeneralRe: This is why I don't talk to people... Pin
OriginalGriff8-Dec-19 2:04
mveOriginalGriff8-Dec-19 2:04 
GeneralRe: This is why I don't talk to people... Pin
Sander Rossel8-Dec-19 2:35
professionalSander Rossel8-Dec-19 2:35 
GeneralRe: This is why I don't talk to people... Pin
Nelek8-Dec-19 3:47
protectorNelek8-Dec-19 3:47 
GeneralRe: This is why I don't talk to people... Pin
Sander Rossel8-Dec-19 3:51
professionalSander Rossel8-Dec-19 3:51 

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.