Click here to Skip to main content
13,300,002 members (54,329 online)

Welcome to the Lounge

   

For discussing anything related to a software developer's life. Technical discussions are encouraged, but click here to ask your programming questions.

The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. No flame wars, no abusive conduct, no programming questions and please don't post ads.
 
GeneralC# 4.0 Pin
Jamie Nordmeyer1-Oct-08 11:20
memberJamie Nordmeyer1-Oct-08 11:20 
General.Net 2.0 Pin
Ennis Ray Lynch, Jr.1-Oct-08 11:22
memberEnnis Ray Lynch, Jr.1-Oct-08 11:22 
GeneralRe: .Net 2.0 Pin
Jamie Nordmeyer1-Oct-08 11:25
memberJamie Nordmeyer1-Oct-08 11:25 
GeneralRe: .Net 2.0 Pin
Christian Graus1-Oct-08 11:38
mvpChristian Graus1-Oct-08 11:38 
Generalomg yes Pin
Ennis Ray Lynch, Jr.1-Oct-08 11:40
memberEnnis Ray Lynch, Jr.1-Oct-08 11:40 
GeneralRe: .Net 2.0 Pin
Jamie Nordmeyer1-Oct-08 11:42
memberJamie Nordmeyer1-Oct-08 11:42 
GeneralRe: .Net 2.0 Pin
melchizidech2-Oct-08 0:05
membermelchizidech2-Oct-08 0:05 
GeneralRe: .Net 2.0 Pin
Member 46448822-Oct-08 1:30
memberMember 46448822-Oct-08 1:30 
GeneralRe: .Net 2.0 Pin
chaiguy13372-Oct-08 19:36
memberchaiguy13372-Oct-08 19:36 
GeneralRe: .Net 2.0 Pin
Jamie Nordmeyer3-Oct-08 4:24
memberJamie Nordmeyer3-Oct-08 4:24 
GeneralRe: .Net 2.0 Pin
chaiguy13373-Oct-08 4:31
memberchaiguy13373-Oct-08 4:31 
GeneralRe: .Net 2.0 Pin
chaiguy13373-Oct-08 4:04
memberchaiguy13373-Oct-08 4:04 
GeneralRe: .Net 2.0 Pin
Ken_OPIS3-Oct-08 11:26
memberKen_OPIS3-Oct-08 11:26 
GeneralRe: .Net 2.0 Pin
mvonballmo10-Oct-08 3:47
membermvonballmo10-Oct-08 3:47 
There is an extension of C# available that provides some help in this area: spec#.

I haven't used it myself, but I'm a big fan of Eiffel, which has deep design-by-contract support. Spec# includes notation to indicate that a variable or parameter can never be null.

BTW, if you're really interested in further reading on features for C#, the Eiffel language is a good place to start, as a language that has true generics since inception as well as tuples, anchored types, parameter covariance and many other interesting goodies.
GeneralRe: .Net 2.0 Pin
Scott Dorman6-Oct-08 7:19
mvpScott Dorman6-Oct-08 7:19 
GeneralRe: .Net 2.0 Pin
Scott Dorman6-Oct-08 7:22
mvpScott Dorman6-Oct-08 7:22 
GeneralRe: .Net 2.0 Pin
Todd Smith1-Oct-08 11:40
memberTodd Smith1-Oct-08 11:40 
GeneralRe: .Net 2.0 Pin
Ennis Ray Lynch, Jr.1-Oct-08 11:44
memberEnnis Ray Lynch, Jr.1-Oct-08 11:44 
GeneralRe: .Net 2.0 Pin
Kevin McFarlane3-Oct-08 5:50
memberKevin McFarlane3-Oct-08 5:50 
GeneralRe: .Net 2.0 Pin
Oshtri Deka2-Oct-08 0:21
memberOshtri Deka2-Oct-08 0:21 
GeneralRe: C# 4.0 Pin
Christian Graus1-Oct-08 11:31
mvpChristian Graus1-Oct-08 11:31 
GeneralRe: C# 4.0 Pin
Jamie Nordmeyer1-Oct-08 11:33
memberJamie Nordmeyer1-Oct-08 11:33 
GeneralRe: C# 4.0 Pin
Christian Graus1-Oct-08 11:38
mvpChristian Graus1-Oct-08 11:38 
GeneralRe: C# 4.0 Pin
Giampaolo Papotti2-Oct-08 4:37
memberGiampaolo Papotti2-Oct-08 4:37 
GeneralRe: C# 4.0 Pin
Scott Dorman6-Oct-08 7:25
mvpScott Dorman6-Oct-08 7:25 
GeneralRe: C# 4.0 Pin
andy_p2-Oct-08 12:21
memberandy_p2-Oct-08 12:21 
GeneralRe: C# 4.0 Pin
harold aptroot1-Oct-08 11:38
memberharold aptroot1-Oct-08 11:38 
GeneralRe: C# 4.0 Pin
Christian Graus1-Oct-08 11:40
mvpChristian Graus1-Oct-08 11:40 
GeneralRe: C# 4.0 Pin
harold aptroot1-Oct-08 12:35
memberharold aptroot1-Oct-08 12:35 
GeneralRe: C# 4.0 Pin
Christian Graus1-Oct-08 14:31
mvpChristian Graus1-Oct-08 14:31 
GeneralRe: C# 4.0 Pin
Donkey Master1-Oct-08 23:17
memberDonkey Master1-Oct-08 23:17 
GeneralRe: C# 4.0 Pin
Jamie Nordmeyer2-Oct-08 3:17
memberJamie Nordmeyer2-Oct-08 3:17 
GeneralRe: C# 4.0 Pin
Donkey Master2-Oct-08 6:01
memberDonkey Master2-Oct-08 6:01 
GeneralRe: C# 4.0 Pin
Leslie Sanford1-Oct-08 12:17
memberLeslie Sanford1-Oct-08 12:17 
GeneralRe: C# 4.0 Pin
harold aptroot1-Oct-08 12:36
memberharold aptroot1-Oct-08 12:36 
GeneralRe: C# 4.0 Pin
Mladen Jankovic1-Oct-08 13:20
memberMladen Jankovic1-Oct-08 13:20 
GeneralRe: C# 4.0 Pin
harold aptroot1-Oct-08 13:44
memberharold aptroot1-Oct-08 13:44 
GeneralRe: C# 4.0 Pin
Christian Graus1-Oct-08 14:32
mvpChristian Graus1-Oct-08 14:32 
GeneralRe: C# 4.0 Pin
shiftedbitmonkey2-Oct-08 9:22
membershiftedbitmonkey2-Oct-08 9:22 
GeneralRe: C# 4.0 Pin
harold aptroot2-Oct-08 9:30
memberharold aptroot2-Oct-08 9:30 
GeneralRe: C# 4.0 Pin
shiftedbitmonkey2-Oct-08 9:35
membershiftedbitmonkey2-Oct-08 9:35 
GeneralRe: C# 4.0 Pin
harold aptroot2-Oct-08 10:01
memberharold aptroot2-Oct-08 10:01 
GeneralRe: C# 4.0 Pin
shiftedbitmonkey2-Oct-08 10:17
membershiftedbitmonkey2-Oct-08 10:17 
GeneralRe: C# 4.0 Pin
harold aptroot2-Oct-08 10:37
memberharold aptroot2-Oct-08 10:37 
GeneralRe: C# 4.0 Pin
andy_p2-Oct-08 12:28
memberandy_p2-Oct-08 12:28 
GeneralRe: C# 4.0 Pin
Mladen Jankovic1-Oct-08 13:54
memberMladen Jankovic1-Oct-08 13:54 
JokeRe: C# 4.0 Pin
rastaVnuce1-Oct-08 21:43
memberrastaVnuce1-Oct-08 21:43 
GeneralRe: C# 4.0 Pin
IGood1-Oct-08 21:07
memberIGood1-Oct-08 21:07 
GeneralRe: C# 4.0 Pin
DaveyM691-Oct-08 11:38
memberDaveyM691-Oct-08 11:38 
GeneralRe: C# 4.0 Pin
Christian Graus1-Oct-08 11:43
mvpChristian Graus1-Oct-08 11:43 

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.


Advertise | Privacy |
Web03 | 2.8.171207.1 | Last Updated 18 Dec 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid