Advertisement
Guest User

Untitled

a guest
Nov 27th, 2015
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. class StringsAndObjects
  2. {
  3. static void Main()
  4. {
  5. string HelloWorld = "Hello";
  6. string World = "World";
  7. object concatenation = HelloWorld + " " +"World";
  8. string ObjectToString = (string)concatenation;
  9. Console.WriteLine(ObjectToString);
  10. }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement