Click here to Skip to main content
14,635,491 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: C# 4.0 Pin
ToddHileHoffer1-Oct-08 10:39
MemberToddHileHoffer1-Oct-08 10:39 
GeneralRe: C# 4.0 Pin
Christian Graus1-Oct-08 10:43
mveChristian Graus1-Oct-08 10:43 
GeneralRe: C# 4.0 Pin
Mladen Janković1-Oct-08 12:21
MemberMladen Janković1-Oct-08 12:21 
GeneralRe: C# 4.0 Pin
Nemanja Trifunovic1-Oct-08 10:56
MemberNemanja Trifunovic1-Oct-08 10:56 
GeneralRe: C# 4.0 Pin
Christian Graus1-Oct-08 11:02
mveChristian Graus1-Oct-08 11:02 
GeneralRe: C# 4.0 Pin
Don Miguel1-Oct-08 23:23
MemberDon Miguel1-Oct-08 23:23 
GeneralRe: C# 4.0 Pin
Steve Echols1-Oct-08 18:35
MemberSteve Echols1-Oct-08 18:35 
GeneralRe: C# 4.0 Pin
Leslie Sanford1-Oct-08 11:14
MemberLeslie Sanford1-Oct-08 11:14 
Christian Graus wrote:
I'd love to see a const keyword on parameters to methods


Seems to me they could use the readonly keyword for this instead of introducing a new keyword.

EDIT: D'Oh! | :doh: const is already a keyword in C#. Shows you how rusty my C# is already...

I'm not really up on compiler writing, so I'm not sure how hard this would be to implement in C#. The compiler would have to make sure that read-only properties/methods are called on readonly/const parameters. That may be nontrivial.
GeneralRe: C# 4.0 Pin
Christian Graus1-Oct-08 11:19
mveChristian Graus1-Oct-08 11:19 
GeneralRe: C# 4.0 Pin
Dave Parker2-Oct-08 1:51
MemberDave Parker2-Oct-08 1:51 
GeneralRe: C# 4.0 Pin
Daniel Grunwald1-Oct-08 13:00
MemberDaniel Grunwald1-Oct-08 13:00 
GeneralRe: C# 4.0 Pin
Ashley van Gerven1-Oct-08 15:02
MemberAshley van Gerven1-Oct-08 15:02 
GeneralRe: C# 4.0 Pin
S. Senthil Kumar1-Oct-08 18:56
MemberS. Senthil Kumar1-Oct-08 18:56 
GeneralRe: C# 4.0 Pin
Vikram A Punathambekar1-Oct-08 20:57
MemberVikram A Punathambekar1-Oct-08 20:57 
GeneralRe: C# 4.0 Pin
S. Senthil Kumar2-Oct-08 5:45
MemberS. Senthil Kumar2-Oct-08 5:45 
GeneralRe: C# 4.0 Pin
Vikram A Punathambekar2-Oct-08 17:29
MemberVikram A Punathambekar2-Oct-08 17:29 
GeneralRe: C# 4.0 Pin
S. Senthil Kumar2-Oct-08 19:10
MemberS. Senthil Kumar2-Oct-08 19:10 
GeneralRe: C# 4.0 Pin
Vikram A Punathambekar3-Oct-08 7:02
MemberVikram A Punathambekar3-Oct-08 7:02 
GeneralRe: C# 4.0 Pin
S. Senthil Kumar3-Oct-08 19:01
MemberS. Senthil Kumar3-Oct-08 19:01 
GeneralRe: C# 4.0 Pin
Vikram A Punathambekar3-Oct-08 19:29
MemberVikram A Punathambekar3-Oct-08 19:29 
GeneralRe: C# 4.0 Pin
Pawel Krakowiak1-Oct-08 19:43
MemberPawel Krakowiak1-Oct-08 19:43 
GeneralRe: C# 4.0 Pin
andy_p2-Oct-08 11:42
Memberandy_p2-Oct-08 11:42 
GeneralRe: C# 4.0 Pin
Vikram A Punathambekar1-Oct-08 20:53
MemberVikram A Punathambekar1-Oct-08 20:53 
GeneralRe: C# 4.0 Pin
higelino1-Oct-08 21:39
Memberhigelino1-Oct-08 21:39 
GeneralRe: C# 4.0 Pin
Kevin McFarlane3-Oct-08 4:57
MemberKevin McFarlane3-Oct-08 4:57 

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.