Submitted by Bernd Schoeller on Tue, 06/17/2008 - 20:45.
We all know about generics as a wonderful help to implement container
data structures like lists, sets, bags etc. Much later than Eiffel,
object-oriented programming languages like Java and C# have understood
that generic parameters are a powerful extension to the type system
and remove the need for many casts. So, what else can we do with
generics beyond containers?
Submitted by Patrick Ruckstuhl on Thu, 04/19/2007 - 17:55.
Sometimes in an application, some actions have to be repeatedly performed in a certain interval. This could for example be some cleanup of external data. To do this I wrote a small class that takes an agent and an interval.
description:"Execute an action every interval until stopped."
author:"Patrick Ruckstuhl <email@example.com>"
Submitted by Paul Bates on Thu, 03/15/2007 - 23:12.
.NET properties are a fundamental part of the CLR and CTS. They are used in a plethora of ways by Microsoft, ISVs and your other developers. For a number of users .NET properties are just a syntactical sugar unifying a getter function and setter routine, and opening up access to encapsulated internal fields.