Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

very basic help please!

ukbud73ukbud73 Member Posts: 3
Hi all,

I have 2 basic question I really need answering today but am at the point where I can't see the obvious!

. Correct this class.


namespace ExampleApp
{
///
/// Correct this class so that it would compile
///
public class Customer
{
public string Name { get; set; }
public string Account { get set; }

public string PrefixedAccount
{
get
{
return "P" Account;
}
}

public override string ToString()
{
return Account + " - " + Name;
}
}
}

Sign In or Register to comment.