If you look at the indentation alone, it is fairly clear: The error message even spells it out for you:
You are missing a '}' to end your constructor:
public class clsUser
{
public clsUser()
{
}
string username;
string pwd;
public string username
{
get
I would also suggest that you change the public property names:
string username;
string pwd;
public string Username
{
get
{
return username;
}
set
{
username = value;
}
}
public string Pwd
{
get
{
return pwd;
}
set
{
pwd = value;
}
}
This removes any confusion between "username" the private string and "Username" the public property.