Wednesday, April 6, 2011

Escape Sequence for { in C#

Today there was need for me to print {} char in my console output. I knew there are standard Escape Sequences in C# but I was not aware of Escape Sequence for  {.  when I was binging I found the solution to this problem I just wanted to share with my Blog readers.





Bill Daugherty II said...

\{ won't work?

Will the result show: {10}?

Thanks for the great blog posts as always:

Sreeni.NET said...

Try with example and let me know if that wont work ...i will show you how that works.