Question: I am new to Visual Studio and C# in general. I'm following a tutorial trying to learn the language ([tutorial here](http://weblogs.asp.net/scottgu/archive/2011/05/05/ef-code-first-and-data-scaffolding-with-the-asp-net-mvc-3-tools-update.aspx)). 

One of the steps is to **add a “using” statement to the System.Data.Entity namespace at the top of the class file (in order to reference the DbContext and DbSet classes)**. This can be found under step 3.

I'm hoping someone can help me out with this section. I've searched on here and Google for an answer, but since I'm new to the language I can't seem to find the correct answer. Any help would be greatly appreciated!

Answer: 
At the top of your file there should be couple lines, each starting with `using` and namespace after that keyword.

Add another one there, to the namespace mentioned in your tutorial:

```
using System.Data.Entity;

```

You can find more information about `using` on MSDN: [`using` Directive (C# Reference)](http://msdn.microsoft.com/en-us/library/sf0df423.aspx)
It is called [using directive](http://msdn.microsoft.com/en-us/library/sf0df423.aspx)

Every class, enum and other elements used in programming in C# are contained inside a namespace.  

To use these elements you need to refer to this namespace and this leads to a very long identifiers. The `using directive` instructs the compiler in which namespaces look for to find the definition of your elements.

You just need to add a line at the beginning of your class file stating the namespace that you intend to use in the remainder of your file.
For example, if you want to use a SqlConnection in your application, without the using directive you should write:

```
System.Data.SqlClient.SqlConnection con = new System.Data.SqlClient.SqlConnection(.....)

```

instead, adding 

```
using System.Data.SqlClient;

```

you could write simply

```
SqlConnection con = new SqlConnection(.....)

```