Skip to content

Instantly share code, notes, and snippets.

@Fhernd
Created August 29, 2013 16:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Fhernd/6380346 to your computer and use it in GitHub Desktop.
Save Fhernd/6380346 to your computer and use it in GitHub Desktop.
Representación de un caracter en C# por medio del tipo de dato char.
class LiteralCaracter
{
static void Main()
{
char c = "perls"[4];
if (c == 's')
{
Console.WriteLine(true);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment