Click here to Skip to main content
15,512,645 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.

 
AnswerRe: C Sharps - how are you getting on with nullable reference types? Pin
Lorenzo Bertolino16-Dec-20 21:36
professionalLorenzo Bertolino16-Dec-20 21:36 
AnswerRe: C Sharps - how are you getting on with nullable reference types? Pin
Mark Quennell16-Dec-20 23:32
Mark Quennell16-Dec-20 23:32 
GeneralRe: C Sharps - how are you getting on with nullable reference types? Pin
Rob Philpott16-Dec-20 23:41
Rob Philpott16-Dec-20 23:41 
GeneralRe: C Sharps - how are you getting on with nullable reference types? Pin
Mark Quennell16-Dec-20 23:50
Mark Quennell16-Dec-20 23:50 
GeneralRe: C Sharps - how are you getting on with nullable reference types? Pin
Rob Philpott17-Dec-20 0:01
Rob Philpott17-Dec-20 0:01 
GeneralRe: C Sharps - how are you getting on with nullable reference types? Pin
Mark Quennell17-Dec-20 0:09
Mark Quennell17-Dec-20 0:09 
GeneralRe: C Sharps - how are you getting on with nullable reference types? Pin
Rob Philpott17-Dec-20 0:18
Rob Philpott17-Dec-20 0:18 
GeneralRe: C Sharps - how are you getting on with nullable reference types? Pin
Mark Quennell17-Dec-20 0:22
Mark Quennell17-Dec-20 0:22 
Yeah, the Value and HasValue properties are possible for nullable value types, because they are implemented by wrapping the value type in a Nullable<T>. Nullable reference types is just a compiler warning wave telling you when a reference type is null and shouldn't be, etc.

The thing to remember is that StreamReader#ReadLine could always return null. The difference is that it now makes it clear by telling you "I return string?", as opposed to returning string and you not realising.
AnswerRe: C Sharps - how are you getting on with nullable reference types? Pin
Thornik17-Dec-20 9:32
Thornik17-Dec-20 9:32 
AnswerRe: C Sharps - how are you getting on with nullable reference types? Pin
zezba900018-Dec-20 12:02
zezba900018-Dec-20 12:02 
AnswerRe: C Sharps - how are you getting on with nullable reference types? Pin
AnotherKen18-Dec-20 21:08
professionalAnotherKen18-Dec-20 21:08 
AnswerRe: C Sharps - how are you getting on with nullable reference types? Pin
Adam David Hill27-Dec-20 4:02
professionalAdam David Hill27-Dec-20 4:02 
GeneralI have the feeling they do it on purpose... Pin
Kornfeld Eliyahu Peter15-Dec-20 23:00
professionalKornfeld Eliyahu Peter15-Dec-20 23:00 
GeneralRe: I have the feeling they do it on purpose... Pin
W Balboos, GHB16-Dec-20 3:51
mveW Balboos, GHB16-Dec-20 3:51 
GeneralWSO CCC OTD 2020-12-16 Pin
Sandeep Mewara15-Dec-20 21:52
mveSandeep Mewara15-Dec-20 21:52 
GeneralRe: WSO CCC OTD 2020-12-16 - You win! Pin
OriginalGriff16-Dec-20 1:57
mveOriginalGriff16-Dec-20 1:57 
GeneralOne of the things I love about CP... Pin
Marc Clifton15-Dec-20 11:33
mvaMarc Clifton15-Dec-20 11:33 
GeneralRe: One of the things I love about CP... Pin
BillWoodruff15-Dec-20 12:44
mveBillWoodruff15-Dec-20 12:44 
GeneralRe: One of the things I love about CP... Pin
CodeWraith15-Dec-20 12:50
CodeWraith15-Dec-20 12:50 
GeneralRe: One of the things I love about CP... Pin
Cp-Coder15-Dec-20 16:25
Cp-Coder15-Dec-20 16:25 
GeneralRe: One of the things I love about CP... Pin
Greg Utas16-Dec-20 3:10
mveGreg Utas16-Dec-20 3:10 
GeneralRe: One of the things I love about CP... Pin
Cp-Coder16-Dec-20 5:40
Cp-Coder16-Dec-20 5:40 
GeneralRe: One of the things I love about CP... Pin
Sander Rossel16-Dec-20 0:43
professionalSander Rossel16-Dec-20 0:43 
GeneralRe: One of the things I love about CP... Pin
Slacker00716-Dec-20 1:39
professionalSlacker00716-Dec-20 1:39 
GeneralRe: One of the things I love about CP... Pin
Marc Clifton16-Dec-20 6:08
mvaMarc Clifton16-Dec-20 6: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.


Straw Poll

An amazing AI programming tool is invented that can do one task perfectly. What would you choose?
  Results   618 votes