Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

C# C# Basics Strings Strings

michael edmondson
michael edmondson
4,510 Points

What is being asked for in this challenge i pretty lost im putting in the forward slash and the quotation

using System;

class Program {

static void Main(string[] args)
{
    var name = "Treehouse";
    Console.WriteLine(\""Hello, \"name\"!";
}

}

1 Answer

From my previous answer:

There is an example in this video @2:02 that shows

string name = "Jay"
Console.WriteLine($"Hello {name}!");

This is what the quiz is looking for. I don't think you need to print the quotes.