Hi, I'm having a pretty simple (I hope) problem, but I just can't figure it out.
I need to combine several variables into one string. For example if I have
I want to arrange it so that description = "Joe: 55".Code:string name = "Joe"; int age = 55; string description;
The best solutions I could come up with are
and neither of those work at all. What should I do?Code:description = name ": " age; and description = name + ": " + age;