Last active
August 29, 2015 14:04
-
-
Save Fhernd/d5769f2e8976f816a662 to your computer and use it in GitHub Desktop.
String vs string.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Articulos.Preguntas.P0302 | |
{ | |
public sealed class DiferenciaStringYstring | |
{ | |
public static void Main() | |
{ | |
Console.WriteLine (typeof(String)); | |
Console.WriteLine (typeof(string)); | |
String blog1 = "Blog xCSw"; | |
string blog2 = "Blog xCSw"; | |
Console.WriteLine (blog1); | |
Console.WriteLine (blog2); | |
Console.WriteLine (String.Concat(blog1, blog2)); | |
Console.WriteLine (string.Concat(blog1, blog2)); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment