Advertisement
Fhernd

DiferenciaStringYstring.cs

Jul 26th, 2014
2,407
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.57 KB | None | 0 0
  1. namespace Articulos.Preguntas.P0302
  2. {
  3.     public sealed class DiferenciaStringYstring
  4.     {
  5.         public static void Main()
  6.         {
  7.             Console.WriteLine (typeof(String));
  8.             Console.WriteLine (typeof(string));
  9.            
  10.             String blog1 = "Blog xCSw";
  11.             string blog2 = "Blog xCSw";
  12.            
  13.             Console.WriteLine (blog1);
  14.             Console.WriteLine (blog2);
  15.            
  16.             Console.WriteLine (String.Concat(blog1, blog2));
  17.             Console.WriteLine (string.Concat(blog1, blog2));
  18.         }
  19.     }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement