Using this tutorial, we are going to run the script **C# program to demonstrate the use of Tan() method of Math class**. Below you will find the possibilities for doing the task using this tutorial.

## C# program to demonstrate the use of Tan() method of Math class

```
using System;
class Sample
{
//Entry point of Program
static public void Main()
{
double Tangent = 0.0;
Tangent = Math.Tan(0.7);
System.Console.WriteLine("Tangent of 0.7 is : " + Tangent);
}
}
```

```
Tangent of 0.7 is : 0.842288380463079
Press any key to continue . . .
```

## Final Words

I hope this article is a **C# program to demonstrate the use of Tan() method of Math class** Let me know in the comments section if you have any issues.