|
using RedBlackCS;
namespace Test
{
public class MyObj
{
private int intMyObjKey;
private string myData;
public int Key
{
get
{
return intMyObjKey;
}
set
{
intMyObjKey = value;
}
}
public string Data
{
get
{
return myData;
}
set
{
myData = value;
}
}
public MyObj(int key, string data)
{
this.Key = key;
this.Data = data;
}
public override string ToString()
{
return intMyObjKey.ToString();
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Roy is a software developer who digs all aspects of software development, from design and architecture to implementation.