Click here to Skip to main content
15,904,416 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: What book would you recommend to learn C# from 0? Pin
OriginalGriff31-Aug-17 8:39
mveOriginalGriff31-Aug-17 8:39 
GeneralRe: What book would you recommend to learn C# from 0? Pin
dandy7231-Aug-17 10:51
dandy7231-Aug-17 10:51 
GeneralRe: What book would you recommend to learn C# from 0? Pin
OriginalGriff31-Aug-17 20:05
mveOriginalGriff31-Aug-17 20:05 
GeneralRe: What book would you recommend to learn C# from 0? Pin
lopatir31-Aug-17 21:04
lopatir31-Aug-17 21:04 
GeneralRe: What book would you recommend to learn C# from 0? Pin
OriginalGriff31-Aug-17 21:33
mveOriginalGriff31-Aug-17 21:33 
GeneralRe: What book would you recommend to learn C# from 0? Pin
Member 130464791-Sep-17 2:52
Member 130464791-Sep-17 2:52 
GeneralRe: What book would you recommend to learn C# from 0? Pin
James Lonero3-Sep-17 22:00
James Lonero3-Sep-17 22:00 
GeneralRe: What book would you recommend to learn C# from 0? Pin
dandy721-Sep-17 2:52
dandy721-Sep-17 2:52 
I agree with using a var for what clearly should be an int. Or should it be a long? Or a 64-bit unsigned int?

As for your 'p' example--it all depends on what you do with it next. If you just need to hang on to it so you can eventually return it from the current function, or to pass it as a param to another function, then under those circumstances I'd say the exact type shouldn't matter to a reader.

GeneralRe: What book would you recommend to learn C# from 0? Pin
James Lonero3-Sep-17 21:54
James Lonero3-Sep-17 21:54 
GeneralRe: What book would you recommend to learn C# from 0? Pin
Fabio Franco1-Sep-17 2:47
professionalFabio Franco1-Sep-17 2:47 
GeneralRe: What book would you recommend to learn C# from 0? Pin
James Lonero3-Sep-17 21:47
James Lonero3-Sep-17 21:47 
AnswerRe: What book would you recommend to learn C# from 0? Pin
Jon McKee31-Aug-17 7:32
professionalJon McKee31-Aug-17 7:32 
GeneralRe: What book would you recommend to learn C# from 0? Pin
Fabio Franco1-Sep-17 2:48
professionalFabio Franco1-Sep-17 2:48 
GeneralRe: What book would you recommend to learn C# from 0? Pin
Davyd McColl2-Sep-17 5:13
Davyd McColl2-Sep-17 5:13 
AnswerRe: What book would you recommend to learn C# from 0? Pin
PIEBALDconsult31-Aug-17 8:46
mvePIEBALDconsult31-Aug-17 8:46 
GeneralRe: What book would you recommend to learn C# from 0? Pin
CPallini31-Aug-17 9:16
mveCPallini31-Aug-17 9:16 
AnswerRe: What book would you recommend to learn C# from 0? Pin
Ravi Bhavnani31-Aug-17 10:40
professionalRavi Bhavnani31-Aug-17 10:40 
GeneralRe: What book would you recommend to learn C# from 0? Pin
raddevus31-Aug-17 15:09
mvaraddevus31-Aug-17 15:09 
AnswerRe: What book would you recommend to learn C# from 0? Pin
Chaos_cat131-Aug-17 20:45
Chaos_cat131-Aug-17 20:45 
AnswerRe: What book would you recommend to learn C# from 0? Pin
Tomaž Štih31-Aug-17 21:42
Tomaž Štih31-Aug-17 21:42 
AnswerRe: What book would you recommend to learn C# from 0? Pin
danm3631-Aug-17 22:50
danm3631-Aug-17 22:50 
AnswerRe: What book would you recommend to learn C# from 0? Pin
tchris1-Sep-17 6:01
tchris1-Sep-17 6:01 
AnswerRe: What book would you recommend to learn C# from 0? Pin
pschaeffer1-Sep-17 7:13
pschaeffer1-Sep-17 7:13 
AnswerRe: What book would you recommend to learn C# from 0? Pin
BotReject2-Sep-17 1:20
BotReject2-Sep-17 1:20 
AnswerRe: What book would you recommend to learn C# from 0? Pin
Davyd McColl2-Sep-17 5:20
Davyd McColl2-Sep-17 5:20 

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.