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

 
JokeTried to escape prison... PinPopular
Sander Rossel15-Sep-20 21:31
professionalSander Rossel15-Sep-20 21:31 
GeneralRe: Tried to escape prison... Pin
Johnny J.15-Sep-20 21:36
professionalJohnny J.15-Sep-20 21:36 
GeneralNET5/RC1 : the latest does not make me want to postpone Alzheimer's Pin
BillWoodruff15-Sep-20 15:18
professionalBillWoodruff15-Sep-20 15:18 
GeneralRe: NET5/RC1 : the latest does not make me want to postpone Alzheimer's Pin
Super Lloyd15-Sep-20 15:42
Super Lloyd15-Sep-20 15:42 
GeneralRe: NET5/RC1 : the latest does not make me want to postpone Alzheimer's Pin
Jon McKee15-Sep-20 16:09
professionalJon McKee15-Sep-20 16:09 
GeneralRe: NET5/RC1 : the latest does not make me want to postpone Alzheimer's Pin
Super Lloyd15-Sep-20 16:20
Super Lloyd15-Sep-20 16:20 
GeneralRe: NET5/RC1 : the latest does not make me want to postpone Alzheimer's Pin
Jon McKee15-Sep-20 17:20
professionalJon McKee15-Sep-20 17:20 
GeneralRe: NET5/RC1 : the latest does not make me want to postpone Alzheimer's Pin
Super Lloyd15-Sep-20 19:32
Super Lloyd15-Sep-20 19:32 
what I will say is just an educated guess since I din't investigate it closely...

I don't think they change the runtime for that.. method signature is the same...
So.. not only there is a compile time check provided by this new syntax, but the compile also produce IL code which verify the parameters as well so that it accepts only non null (or nullable), as specified...

i.e. your method that requires non null parameter will never throw a null reference exception (from the argument anyway) even if called with, say, reflection / dynamic or such like...
A new .NET Serializer
All in one Menu-Ribbon Bar
Taking over the world since 1371!

GeneralRe: NET5/RC1 : the latest does not make me want to postpone Alzheimer's Pin
Jörgen Andersson15-Sep-20 20:40
professionalJörgen Andersson15-Sep-20 20:40 
GeneralRe: NET5/RC1 : the latest does not make me want to postpone Alzheimer's Pin
Jon McKee15-Sep-20 21:33
professionalJon McKee15-Sep-20 21:33 
GeneralRe: NET5/RC1 : the latest does not make me want to postpone Alzheimer's Pin
Jörgen Andersson15-Sep-20 21:41
professionalJörgen Andersson15-Sep-20 21:41 
GeneralRe: NET5/RC1 : the latest does not make me want to postpone Alzheimer's Pin
Jon McKee15-Sep-20 21:44
professionalJon McKee15-Sep-20 21:44 
GeneralRe: NET5/RC1 : the latest does not make me want to postpone Alzheimer's Pin
Jörgen Andersson15-Sep-20 21:50
professionalJörgen Andersson15-Sep-20 21:50 
GeneralRe: NET5/RC1 : the latest does not make me want to postpone Alzheimer's Pin
BillWoodruff16-Sep-20 0:09
professionalBillWoodruff16-Sep-20 0:09 
GeneralRe: NET5/RC1 : the latest does not make me want to postpone Alzheimer's Pin
  Forogar  16-Sep-20 5:14
professional  Forogar  16-Sep-20 5:14 
GeneralRe: NET5/RC1 : the latest does not make me want to postpone Alzheimer's Pin
#realJSOP16-Sep-20 0:14
mve#realJSOP16-Sep-20 0:14 
GeneralRe: NET5/RC1 : the latest does not make me want to postpone Alzheimer's Pin
Jörgen Andersson16-Sep-20 1:09
professionalJörgen Andersson16-Sep-20 1:09 
GeneralRe: NET5/RC1 : the latest does not make me want to postpone Alzheimer's Pin
Stefan_Lang16-Sep-20 0:26
Stefan_Lang16-Sep-20 0:26 
GeneralBeautiful From Afar Pin
W Balboos, GHB15-Sep-20 6:08
W Balboos, GHB15-Sep-20 6:08 
GeneralRe: Beautiful From Afar Pin
MarkTJohnson15-Sep-20 7:36
professionalMarkTJohnson15-Sep-20 7:36 
GeneralRe: Beautiful From Afar Pin
raddevus15-Sep-20 9:45
mvaraddevus15-Sep-20 9:45 
GeneralRe: Beautiful From Afar Pin
obermd16-Sep-20 4:20
obermd16-Sep-20 4:20 
GeneralThought of the Day PinPopular
OriginalGriff15-Sep-20 5:19
mveOriginalGriff15-Sep-20 5:19 
GeneralRe: Thought of the Day Pin
jeron115-Sep-20 5:29
jeron115-Sep-20 5:29 
GeneralRe: Thought of the Day Pin
Ravi Bhavnani15-Sep-20 12:41
professionalRavi Bhavnani15-Sep-20 12:41 

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.