Hi shiv78,
C# is an object-oriented programming language provided by Microsoft that runs on .Net Framework.
C# is a language to use with .Net. It's not the only .Net language. There are other languages like VB.Net, F#, etc.
You have to write code in languages of your choice to use the functionality in the .NET framework.
By the help of C# programming language, you can develop different types of applications.
- Window applications
- Web applications
- Distributed applications
- Web service applications
- Database applications etc.
ASP.Net is a Framework and is an extension of .Net that helps you writing web based applications and websites.
ASP.Net is used to develop websites, web applications and web services using C# or other languages.
For more details refer below links.
Difference between asp.net and C#
What's the difference between ASP.NET and C#