char[] ch = new char[1];
ch[0]="-";
FileStream fp=new FileStream("z:\ \" + "math" + ch[0].ToString() +
"optpivot",File Mode.Open,FileA ccess.Read);
Why does this fail with Cannot implicitly convert type 'string' to 'char'
(CS0029) ?
Best
David
ch[0]="-";
FileStream fp=new FileStream("z:\ \" + "math" + ch[0].ToString() +
"optpivot",File Mode.Open,FileA ccess.Read);
Why does this fail with Cannot implicitly convert type 'string' to 'char'
(CS0029) ?
Best
David
Comment