What do braces do inside writeline

  • Thread starter Thread starter rokit
  • Start date Start date
"Replace With"

for example if you had:
Console.WriteLine("{0}--{1}","xxx","yyy")

Your output would look like:
"xxx--yyy"

Hope this helps...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

WriteLine puts Quotes 2
WMI Question 4
PrintLine vs. WriteLine 1
Anonymous Types, LINQ and Generics 3
file [?] 7
DataGrid Tabbing 6
Multiple parm signatures 13
Its gotta be a bug or I'm crazy! 10

Back
Top