VelizarAvramov

Strings and Objects

Mar 22nd, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.35 KB | None | 0 0
  1. using System;
  2.  
  3. namespace _06_Strings_and_Objects
  4. {
  5.     class stringsandobjects
  6.     {
  7.         static void Main()
  8.         {
  9.             string one = "Hello";
  10.             string two = "World";
  11.             object container = one + " " +  two;
  12.             string three = (string) container;
  13.             Console.WriteLine(three);
  14.         }
  15.     }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment