ASP.NET - when i concadinate to string it will add adjcent., i add 2 class what happen

Asked By siv h on 04-Feb-13 08:05 AM

hi,

  i getting doubt.
i concatenate 2 string it will refernce type so it will comes two string add side by side.


when i concatenate to class wt is the output?
Robbe Morris replied to siv h on 04-Feb-13 08:18 AM
It will call .ToString() on the class.  There is no such thing as concatenating a class.