Click here to Skip to main content
14,456,388 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.
 
GeneralOnce Again I'm Forced To Report Pin
W Balboos19-Dec-19 6:43
mveW Balboos19-Dec-19 6:43 
GeneralRe: Once Again I'm Forced To Report Pin
MarkTJohnson19-Dec-19 8:23
professionalMarkTJohnson19-Dec-19 8:23 
RantVB.NET is hateful Pin
honey the codewitch19-Dec-19 6:11
mvahoney the codewitch19-Dec-19 6:11 
GeneralRe: VB.NET is hateful Pin
Richard Deeming19-Dec-19 6:26
communityengineerRichard Deeming19-Dec-19 6:26 
GeneralRe: VB.NET is hateful Pin
honey the codewitch19-Dec-19 6:28
mvahoney the codewitch19-Dec-19 6:28 
GeneralRe: VB.NET is hateful Pin
Richard Deeming19-Dec-19 6:35
communityengineerRichard Deeming19-Dec-19 6:35 
GeneralRe: VB.NET is hateful Pin
honey the codewitch19-Dec-19 6:46
mvahoney the codewitch19-Dec-19 6:46 
GeneralRe: VB.NET is hateful Pin
Richard Deeming19-Dec-19 6:54
communityengineerRichard Deeming19-Dec-19 6:54 
honey the codewitch wrote:
I wonder if i don't mind breaking in that case?

Probably a sensible option - C# won't let you use == on a struct which doesn't implement an equality operator either.

You're right about ReferenceEquals, which obviously wouldn't work for value types.

The default Equals implementation for a value type uses reflection to compare the value of all of the fields:
Reference Source[^]



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

GeneralRe: VB.NET is hateful Pin
honey the codewitch19-Dec-19 6:55
mvahoney the codewitch19-Dec-19 6:55 
GeneralRe: VB.NET is hateful Pin
0x01AA19-Dec-19 7:00
professional0x01AA19-Dec-19 7:00 
GeneralRe: VB.NET is hateful Pin
honey the codewitch19-Dec-19 7:03
mvahoney the codewitch19-Dec-19 7:03 
GeneralRe: VB.NET is hateful Pin
obermd26-Dec-19 10:51
Memberobermd26-Dec-19 10:51 
GeneralRe: VB.NET is hateful Pin
Rick York19-Dec-19 8:26
mveRick York19-Dec-19 8:26 
GeneralRe: VB.NET is hateful Pin
honey the codewitch19-Dec-19 8:30
mvahoney the codewitch19-Dec-19 8:30 
GeneralRe: VB.NET is hateful Pin
Rick York19-Dec-19 9:37
mveRick York19-Dec-19 9:37 
GeneralRe: VB.NET is hateful Pin
honey the codewitch19-Dec-19 9:39
mvahoney the codewitch19-Dec-19 9:39 
GeneralRe: VB.NET is hateful Pin
Marc Clifton19-Dec-19 8:49
communityengineerMarc Clifton19-Dec-19 8:49 
GeneralRe: VB.NET is hateful Pin
Cp-Coder19-Dec-19 9:22
MemberCp-Coder19-Dec-19 9:22 
QuestionRe: VB.NET is hateful Pin
Eddy Vluggen19-Dec-19 17:26
professionalEddy Vluggen19-Dec-19 17:26 
AnswerRe: VB.NET is hateful Pin
honey the codewitch19-Dec-19 17:28
mvahoney the codewitch19-Dec-19 17:28 
GeneralRe: VB.NET is hateful Pin
Mark_Wallace19-Dec-19 21:07
MemberMark_Wallace19-Dec-19 21:07 
GeneralRe: VB.NET is hateful Pin
honey the codewitch19-Dec-19 23:31
mvahoney the codewitch19-Dec-19 23:31 
GeneralRe: VB.NET is hateful Pin
Mark_Wallace20-Dec-19 2:04
MemberMark_Wallace20-Dec-19 2:04 
GeneralRe: VB.NET is hateful Pin
honey the codewitch20-Dec-19 2:05
mvahoney the codewitch20-Dec-19 2:05 
GeneralRe: VB.NET is hateful Pin
honey the codewitch20-Dec-19 2:08
mvahoney the codewitch20-Dec-19 2:08 

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.