public int id { get; set; }
public String position { get; set; }
public bool bitmap { get; set; }
public override string ToString()
return "ID: " + id + " Position: " + position;
public static void Main()
Console.WriteLine("Hello World");
Alternative alt1 = new Alternative() {
id=1, position="abc", bitmap=false
Alternative alt2 = new Alternative() {
id=2, position="xyz", bitmap=true
Alternative alt3 = new Alternative() {
id=3, position="pqr", bitmap=true
Alternative[] alt = new Alternative[] {alt1, alt2, alt3};
String[] array = new String[3];
string joined = String.Join(", ", array).ToString();
Console.WriteLine(joined);