Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class StringsAndObjects
- {
- static void Main()
- {
- string HelloWorld = "Hello";
- string World = "World";
- object concatenation = HelloWorld + " " +"World";
- string ObjectToString = (string)concatenation;
- Console.WriteLine(ObjectToString);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement