Click here to Skip to main content
15,905,144 members

Survey Results

Should C# get the VB-style "with" keyword?   [Edit]

Survey period: 6 Oct 2008 to 13 Oct 2008

If not then maybe we could look into the "Ain't" keyword...

OptionVotes% 
Yes27937.20
No47162.80



 
GeneralRe: What's VB? Pin
Jeremy Falcon7-Oct-08 9:00
professionalJeremy Falcon7-Oct-08 9:00 
GeneralRe: What's VB? Pin
Lutosław7-Oct-08 9:53
Lutosław7-Oct-08 9:53 
GeneralRe: What's VB? Pin
Jeremy Falcon7-Oct-08 10:11
professionalJeremy Falcon7-Oct-08 10:11 
GeneralRe: What's VB? Pin
Jeremy Falcon7-Oct-08 9:01
professionalJeremy Falcon7-Oct-08 9:01 
GeneralHow about the 'Optional' Keyword? Pin
Vasudevan Deepak Kumar6-Oct-08 8:38
Vasudevan Deepak Kumar6-Oct-08 8:38 
GeneralRe: How about the 'Optional' Keyword? Pin
Shog96-Oct-08 8:53
sitebuilderShog96-Oct-08 8:53 
GeneralRe: How about the 'Optional' Keyword? Pin
Phil Wheeler6-Oct-08 16:26
Phil Wheeler6-Oct-08 16:26 
GeneralRe: How about the 'Optional' Keyword? Pin
Keia6-Oct-08 21:42
professionalKeia6-Oct-08 21:42 
I disagree:

public void MyExample( int length, optional int height = 0, optional int width = 0 )
{
  // some code
}


is better (and clearer) than

public void MyExample( int length )
{
  MyExample( length, 0 );
}

public void MyExample( int length, int height)
{
  MyExample( length, height, 0 );
}

public void MyExample( int length, int width )
{
  MyExample( length, 0, width );
}

public void MyExample( int length, int height, int width )
{
  // some code
}

GeneralRe: How about the 'Optional' Keyword? Pin
Chris Maunder7-Oct-08 11:36
cofounderChris Maunder7-Oct-08 11:36 
GeneralRe: How about the 'Optional' Keyword? Pin
Keia7-Oct-08 11:45
professionalKeia7-Oct-08 11:45 
GeneralRe: How about the 'Optional' Keyword? Pin
Duncan Edwards Jones7-Oct-08 1:10
professionalDuncan Edwards Jones7-Oct-08 1:10 
GeneralRe: How about the 'Optional' Keyword? Pin
Rob Grainger7-Oct-08 1:59
Rob Grainger7-Oct-08 1:59 
GeneralYes. Pin
Shog96-Oct-08 7:15
sitebuilderShog96-Oct-08 7:15 
GeneralRe: Yes. Pin
rickyvj6-Oct-08 7:46
rickyvj6-Oct-08 7:46 
GeneralRe: Yes. Pin
Shog96-Oct-08 7:58
sitebuilderShog96-Oct-08 7:58 
GeneralRe: Yes. Pin
Richard Green6-Oct-08 23:00
Richard Green6-Oct-08 23:00 
GeneralRe: Yes. Pin
rickyvj7-Oct-08 3:59
rickyvj7-Oct-08 3:59 
GeneralRe: Yes. Pin
Jeremy Falcon7-Oct-08 8:55
professionalJeremy Falcon7-Oct-08 8:55 
GeneralRe: Yes. Pin
Vasudevan Deepak Kumar6-Oct-08 8:39
Vasudevan Deepak Kumar6-Oct-08 8:39 
GeneralRe: Yes. Pin
Mel Padden6-Oct-08 22:12
Mel Padden6-Oct-08 22:12 
GeneralI definitely want an isnt or aint operator Pin
PIEBALDconsult6-Oct-08 5:41
mvePIEBALDconsult6-Oct-08 5:41 
GeneralRe: I definitely want an isnt or aint operator Pin
Adam Maras6-Oct-08 6:40
Adam Maras6-Oct-08 6:40 
GeneralRe: I definitely want an isnt or aint operator Pin
Theodore M. Seeber6-Oct-08 8:12
Theodore M. Seeber6-Oct-08 8:12 
GeneralI find statements with with harder to read [modified] Pin
Don Kackman6-Oct-08 5:10
Don Kackman6-Oct-08 5:10 
GeneralRe: I find statements with with harder to read Pin
PIEBALDconsult6-Oct-08 5:47
mvePIEBALDconsult6-Oct-08 5:47 

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.