Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace _06_Strings_and_Objects
- {
- class stringsandobjects
- {
- static void Main()
- {
- string one = "Hello";
- string two = "World";
- object container = one + " " + two;
- string three = (string) container;
- Console.WriteLine(three);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment