Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
using @ to prefix a string
//Title of this code //Rextester.Program.Main is the entry point for your code. Don't change it. using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { //Your code goes here Console.WriteLine(@"Hello\, world!"); // the @ will make "\" a printable character, not an escape character any more // it is the the equivalent of a raw string in python r"this is a raw string" Console.WriteLine(@"Hello""\, world!"); // using the @ sign to prefix a string, the only char that needs escaping is now the " char. // the way to represent the " char in a @ prefixed string is to use "" twice Console.WriteLine(@"\Hello\, ""world!"""); } } }
run
|
edit
|
history
|
help
0
Reflection custom test
DateTime
C#: Strings / Char Test
encryption
ASCII table generator
Math 10.81 added quad seq
Unity Character Controller Version 2
Fibonacci and finding nth fibo number
multiplo de 500
switch it