c# Programming Glossary: objectwithproperties
How do I create dynamic properties in C#? http://stackoverflow.com/questions/947241/how-do-i-create-dynamic-properties-in-c using System.Linq namespace ConsoleApplication1 class ObjectWithProperties Dictionary string object properties new Dictionary string object.. set properties name value class Comparer T IComparer ObjectWithProperties where T IComparable string m_attributeName public Comparer string.. m_attributeName attributeName public int Compare ObjectWithProperties x ObjectWithProperties y return T x m_attributeName .CompareTo..
|