|
/// <summary>
/// Summary description for MyObject
/// </summary>
public class MyObject
{
public MyObject()
{
}
public MyObject(int id, int height, int width, int depth)
{
_id = id;
_height = height;
_width = width;
_depth = depth;
}
private int _id;
private int _height;
private int _width;
private int _depth;
public int ID
{
get { return _id; }
set { _id = value; }
}
public int Height
{
get { return _height; }
set { _height = value; }
}
public int Width
{
get { return _width; }
set { _width = value; }
}
public int Depth
{
get { return _depth; }
set { _depth = value; }
}
}
|
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.
Fascinated by good architectures, well thought classes and clean code. I work as a software developer since 2004.