TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
harish reddy
NA
162
33.5k
Output query - Console
May 30 2017 10:52 PM
string quotation = "\"Hello, Jude\", he said.";
Console.WriteLine(quotation); string path = "C:\\Windows\\Notepad.exe";
Console.WriteLine(path); string verbatim = @"The \ is not escaped as \\. I am at a new line.";
Console.WriteLine(verbatim);
// Console output:
// "Hello, Jude", he said.
// C:\Windows\Notepad.exe
// The \ is not escaped as \\.
// I am at a new line.
Question: Why the console out put for each variable is missing "\".
example :"\"Hello, Jude\", he said."; is outputted as "Hello, Jude", he said. . Why?
"C:\\Windows\\Notepad.exe"; is outputted as C:\Windows\Notepad.exe . Why?
Similarly other one? why?
Reply
Answers (
1
)
Want to make login form
Automation server can't create object