Click here to Skip to main content
16,008,010 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Preference for C# over VB.NET Pin
Paul Conrad27-Nov-06 7:41
professionalPaul Conrad27-Nov-06 7:41 
GeneralRe: Preference for C# over VB.NET Pin
Not Active27-Nov-06 7:50
mentorNot Active27-Nov-06 7:50 
AnswerRe: Preference for C# over VB.NET Pin
needhelpinnet27-Nov-06 6:46
needhelpinnet27-Nov-06 6:46 
AnswerRe: Preference for C# over VB.NET Pin
Leah_Garrett27-Nov-06 12:23
Leah_Garrett27-Nov-06 12:23 
AnswerRe: Preference for C# over VB.NET Pin
ednrgc29-Nov-06 7:01
ednrgc29-Nov-06 7:01 
QuestionGeneral Question: A Language-Independent Design by Contract Framework--what would it be worth? Pin
Philip Laureano26-Nov-06 12:01
Philip Laureano26-Nov-06 12:01 
AnswerRe: General Question: A Language-Independent Design by Contract Framework--what would it be worth? Pin
Kevin McFarlane27-Nov-06 5:21
Kevin McFarlane27-Nov-06 5:21 
AnswerRe: General Question: A Language-Independent Design by Contract Framework--what would it be worth? Pin
PIEBALDconsult28-Nov-06 3:57
mvePIEBALDconsult28-Nov-06 3:57 
Looks interesting. In that example I would prefer NonZeroAttribute to override ToString() to build that message and then the calling code can do what it likes to handle the thrown exception. Also, that Check checks for >0 rather than !=0, but as it's just an example it's OK.

Of greater concern is that Check takes an object (and then tries to cast to int), would it be possible to write a condition that uses generics?

Would you expect users of your code to write their own conditions (which may be just as roughly written as the example)? Or would you include a library of well-written conditions that handle most common situations?

To answer the main question; as I doubt it's nothing I couldn't write myself, I wouldn't pay for it, it's far more fun to write it myself... I would then post it free here on CodeProject.
GeneralRe: General Question: A Language-Independent Design by Contract Framework--what would it be worth? Pin
Philip Laureano28-Nov-06 10:18
Philip Laureano28-Nov-06 10:18 
GeneralRe: General Question: A Language-Independent Design by Contract Framework--what would it be worth? Pin
PIEBALDconsult28-Nov-06 14:44
mvePIEBALDconsult28-Nov-06 14:44 
GeneralRe: General Question: A Language-Independent Design by Contract Framework--what would it be worth? Pin
Philip Laureano28-Nov-06 15:31
Philip Laureano28-Nov-06 15:31 
AnswerRe: General Question: A Language-Independent Design by Contract Framework--what would it be worth? Pin
PIEBALDconsult28-Nov-06 8:36
mvePIEBALDconsult28-Nov-06 8:36 
QuestionCrystalReport Pin
aPerfectCircle25-Nov-06 14:28
aPerfectCircle25-Nov-06 14:28 
AnswerRe: CrystalReport Pin
Paul Conrad26-Dec-06 17:06
professionalPaul Conrad26-Dec-06 17:06 
QuestionQuestion about MemberInfo.ReflectedType [modified] Pin
PIEBALDconsult24-Nov-06 16:09
mvePIEBALDconsult24-Nov-06 16:09 
AnswerRe: Question about MemberInfo.ReflectedType Pin
Philip Laureano28-Nov-06 10:36
Philip Laureano28-Nov-06 10:36 
GeneralRe: Question about MemberInfo.ReflectedType Pin
PIEBALDconsult28-Nov-06 14:30
mvePIEBALDconsult28-Nov-06 14:30 
GeneralRe: Question about MemberInfo.ReflectedType Pin
Philip Laureano28-Nov-06 15:15
Philip Laureano28-Nov-06 15:15 
QuestionWindoow handler Pin
indian14324-Nov-06 3:59
indian14324-Nov-06 3:59 
AnswerRe: Windoow handler Pin
Dave Kreskowiak27-Nov-06 4:55
mveDave Kreskowiak27-Nov-06 4:55 
AnswerRe: Windoow handler Pin
Dave Kreskowiak28-Nov-06 1:24
mveDave Kreskowiak28-Nov-06 1:24 
QuestionFind all descendents of a type? Pin
Senor Plankton24-Nov-06 0:51
Senor Plankton24-Nov-06 0:51 
AnswerRe: Find all descendents of a type? Pin
Guffa24-Nov-06 1:03
Guffa24-Nov-06 1:03 
GeneralRe: Find all descendents of a type? Pin
Senor Plankton27-Nov-06 0:16
Senor Plankton27-Nov-06 0:16 
QuestionJAbber Pin
Tauseef A23-Nov-06 21:48
Tauseef A23-Nov-06 21:48 

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.