QUESTIONS

Tagged: string

answers  1
views  808
votes  1

[Question] How do I escape a double quote in a verbatim string literal?  

Is there is a way to escape embedded double quotes in a verbatim string in C#? I have a lengthy string literal that wraps several lines. Escaping the quotes with a back-slash \ (at the bottom) does no ...
Apr 08, 2016
Amita Mhari
{ 55 - 1 - 0 }
answers  1  
views  365
votes  1

[Question] Is there a difference between String and string in C#?  

Is there any difference whether I use string or String in my C# code? Or does the compiler map one to another?
Apr 04, 2016
Vivek Sandipa
{ 56 - 1 - 0 }
2  posts
You may also like
When to use 'ref' and 'out' keywords - specifically with strings?
Visual Studio 2015 F10 Debugger key not working
Horizontally centering a <div> inside another <div>
How to Encrypt and Decrypt a string in C#
Server Side Rendering in JavaScript?
Curlybrackets Software
The source code for Curlybrackets (C#/.NET/SQL Server) is available for purchase here. Start your own Q+A site now!

Easily create custom post types: messages, ideas, questions, tickets, whatever.

The Software Pack is a great place to start your corporate Q+A customer support site.