This blog shows on how to do a string concatenation with an extra variable
class CurrencyClass
{
public long Dollars;
public byte Cents;
public override string ToString()
{
return "$" + Dollars + "." + Cents;
}
}
Loading

Join the conversation! Your thoughts help the community grow.