I am getting the following error:
CS1041: Identifier expected, 'char' is a keyword
Below is a simplified version of what I'm doing. (C#)
Does "char" have its own separate namespace that needs declaring, and if so, how? Any help is appreciated...
Dust
CS1041: Identifier expected, 'char' is a keyword
Below is a simplified version of what I'm doing. (C#)
Code:
using System;
public class classAddProject : System.Web.UI.Page {
protected void Submit_Click(Object Src, EventArgs E) {
string date = "something";
if (date.char[x - 1] == "/") {
// stuff happens
}
}
}
Does "char" have its own separate namespace that needs declaring, and if so, how? Any help is appreciated...
Dust