hi guyz,
why my class with auto implemented property gets null values? here's what i did:
1. i instantiate the class with the auto-implemented property and set the values like:
class AIproperty
{
public string CustomerName{ get; set; }
}
AIproperty setvalues = new AIproperty();
setvalues.CustomerName = txtCustomer.text.ToString():
AIproperty setvalues = new AIproperty();
console.write(setvalues.CustomerName)
console.write(setvalues.CustomerName)
returns null value
what should i do?
-thanks in advance