VideoHelp Forum

+ Reply to Thread
Results 1 to 2 of 2
Thread
  1. Member
    Join Date
    Jul 2021
    Location
    Australia
    Search Comp PM
    vs2015 programming, why can't I write this way to output correctly?

    Code:
     string name="xx";
    Console.WriteLine("Hello, {name}.");
    Quote Quote  
  2. Try
    string name="xx";
    Console.WriteLine("Hello, " + name + ".");
    Quote Quote  



Similar Threads