This is a very basic question.
void Output(int output);
-> this enables one single output
bool[] Outputs { get; set; }
-> This enables multiple output. I need the implementation of this. This is an API declared as a interface.
In my class I need to use it.
i studied this http://msdn.microsoft.com/en-us/library/87d83y5b%28VS.80%29.aspx... but no where I got reference to get and set returning a bool array.
In the above link, the class is as:
interface IPoint { // Property signatures: int x { get; set; } int y { get; set; } }
class Point : IPoint
{
// Fields:
private int _x;
private int _y;
// Constructor:
public Point(int x, int y)
{
_x = x;
_y = y;
}
// Property implementation:
public int x
{
get
{
return _x;
}
set
{
_x = value;
}
}
public int y
{
get
{
return _y;
}
set
{
_y = value;
}
}
}
what will be the class declaration in my case ??