Questions tagged [.net-2.0]

The 2.0 version of the .NET Framework.

Filter by
Sorted by
Tagged with
2
votes
1answer
79 views

Read characters slowly (Threading with delay, .NET Framework 2.0)

Couple of months ago I was asked to develop a console app to do the following: Write an application that takes an array of ICharacterReader interfaces, accesses them in parallel, and outputs a ...
4
votes
1answer
199 views

Return a paged DataTable

Is there a better way to do it and have it be .Net 2.0 compatible? ...
4
votes
3answers
739 views

Central Database class

I have this web site I inherited as part of my job and it has some old code. I'd like to optimize it, but I don't really have the time to do it right, so I'm looking for some "low hanging fruit" to ...
3
votes
3answers
983 views

Validating the value of a property of an object

This code snippet is intended for validating the value of a property of an object. The min and max range is supplied as an .xml file like Nhibernate .hbm files. Since the data-type of the property is ...
3
votes
1answer
1k views

Automatic Databinding of controls to Model [closed]

I have developed a prototype framework (MVVM) where control on the form is bound to a model property using a naming convention and its UI behavior is controlled using custom attributes. As of now the ...
4
votes
1answer
326 views

Repository Pattern Review

I have following code for a library management system. Is the following code a proper implementation of the Repository Pattern? How can I adapt this code to use generics? Should I let ...