using System.Collections.Generic;
public static char[] board = { 'Q', '-', '+',
static List<char[]> dalist = new List<char[]> {
new char[3] { board[3], board[4], board[5] },
new char[3] { board[0], board[4], board[8] },
new char[3] { board[2], board[4], board[6] },
new char[3] { board[1], board[4], board[7] },
new char[3] { board[0], board[1], board[2] },
new char[3] { board[6], board[7], board[8] },
new char[3] { board[0], board[3], board[6] },
new char[3] { board[2], board[5], board[8] }
public static void Main(){
foreach (var item in dalist[2])
Console.WriteLine(dalist[2].ToString());
Console.WriteLine(dalist[2].ToString().Contains("-"));
Console.WriteLine(new string(dalist[2]));
Console.WriteLine(new string(dalist[2]).Contains("-"));