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.

image

Nandri(Thanks)

Sreenivasaragavan.

2 comments:

Bill Daugherty II said...

\{ won't work?

Will the result show: {10}?

Thanks for the great blog posts as always:

http://myspexp.com

Sreeni.NET said...

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