Monday, December 29, 2003

Verbatim ...

C# supports 2 forms of string literals. They are, regular string literals and Verbatim string literals. Verbatim string literals begin with @" and end with the matching quote.

For instance,

strSample = @"F:\sample.xls"; is equivalent to strSample = "F:\\sample.xls";

No comments: