fork download
  1. using System;
  2.  
  3. namespace Articulos.Preguntas.P0302
  4. {
  5. public sealed class DiferenciaStringYstring
  6. {
  7. public static void Main()
  8. {
  9. Console.WriteLine (typeof(string));
  10. Console.WriteLine (typeof(string));
  11.  
  12. String blog1 = "Blog xCSw";
  13. string blog2 = "Blog xCSw";
  14.  
  15. Console.WriteLine (blog1);
  16. Console.WriteLine (blog2);
  17.  
  18. Console.WriteLine (String.Concat(blog1, blog2));
  19. Console.WriteLine (string.Concat(blog1, blog2));
  20. }
  21. }
  22. }
Success #stdin #stdout 0.02s 33808KB
stdin
Standard input is empty
stdout
System.String
System.String
Blog xCSw
Blog xCSw
Blog xCSwBlog xCSw
Blog xCSwBlog xCSw