Click here to Skip to main content
15,921,941 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: code comments Pin
ZurdoDev27-Jul-16 1:53
professionalZurdoDev27-Jul-16 1:53 
GeneralRe: code comments Pin
Sander Rossel27-Jul-16 4:05
professionalSander Rossel27-Jul-16 4:05 
GeneralRe: code comments Pin
Slacker00727-Jul-16 5:33
professionalSlacker00727-Jul-16 5:33 
GeneralRe: code comments Pin
KC@CahabaGBA28-Jul-16 3:25
KC@CahabaGBA28-Jul-16 3:25 
GeneralRe: code comments Pin
Slacker00728-Jul-16 3:48
professionalSlacker00728-Jul-16 3:48 
GeneralRe: code comments Pin
CDP180226-Jul-16 21:26
CDP180226-Jul-16 21:26 
GeneralRe: code comments Pin
BillWoodruff26-Jul-16 22:02
professionalBillWoodruff26-Jul-16 22:02 
GeneralRe: code comments Pin
Slacker00726-Jul-16 23:56
professionalSlacker00726-Jul-16 23:56 
IsNotNull?

Also, you should not be purposely throwing an error from an extension method, as part of some divine plan. Just check if it is null or not, that is all. Leave the implementation to the calling party - this helps with code reuse (I may not want to do a console.writeline).

My 2 unsolicited cents on your post. Big Grin | :-D
GeneralRe: code comments Pin
Michael Martin27-Jul-16 0:03
professionalMichael Martin27-Jul-16 0:03 
GeneralRe: code comments Pin
BillWoodruff27-Jul-16 3:38
professionalBillWoodruff27-Jul-16 3:38 
GeneralRe: code comments PinPopular
F-ES Sitecore26-Jul-16 22:58
professionalF-ES Sitecore26-Jul-16 22:58 
GeneralRe: code comments Pin
charlieg26-Jul-16 23:54
charlieg26-Jul-16 23:54 
GeneralRe: code comments Pin
Dan Neely27-Jul-16 2:51
Dan Neely27-Jul-16 2:51 
GeneralRe: code comments Pin
Shameel27-Jul-16 0:40
professionalShameel27-Jul-16 0:40 
GeneralRe: code comments Pin
CDP180227-Jul-16 2:49
CDP180227-Jul-16 2:49 
GeneralRe: code comments Pin
#realJSOP27-Jul-16 1:31
professional#realJSOP27-Jul-16 1:31 
GeneralRe: code comments Pin
CDP180227-Jul-16 2:58
CDP180227-Jul-16 2:58 
GeneralRe: code comments Pin
Richard Deeming27-Jul-16 3:09
mveRichard Deeming27-Jul-16 3:09 
GeneralRe: code comments Pin
Nish Nishant27-Jul-16 4:49
sitebuilderNish Nishant27-Jul-16 4:49 
GeneralRe: code comments Pin
TheGreatAndPowerfulOz27-Jul-16 8:10
TheGreatAndPowerfulOz27-Jul-16 8:10 
GeneralRe: code comments Pin
Nish Nishant27-Jul-16 8:18
sitebuilderNish Nishant27-Jul-16 8:18 
GeneralRe: code comments Pin
kalberts28-Jul-16 2:12
kalberts28-Jul-16 2:12 
GeneralRe: code comments Pin
kalberts28-Jul-16 2:59
kalberts28-Jul-16 2:59 
GeneralRe: code comments Pin
Clifford Nelson27-Jul-16 7:39
Clifford Nelson27-Jul-16 7:39 
PraiseRe: code comments Pin
TheGreatAndPowerfulOz27-Jul-16 7:49
TheGreatAndPowerfulOz27-Jul-16 7:49 

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.