Advertisement
Fhernd

LiteralCaracter.cs

Jul 24th, 2017
1,426
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.18 KB | None | 0 0
  1. class LiteralCaracter
  2. {
  3.     static void Main()
  4.     {
  5.         char c = "perls"[4];
  6.  
  7.         if (c == 's')
  8.         {
  9.             Console.WriteLine(true);
  10.         }
  11.     }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement