What is the difference between C and NET

0 votes
As the title say, what exactly is the difference between C# and .net? I was doing some job searches and the job responsibilities were sort of mixed. So what is the difference?
Jun 6 in C# by rajiv
• 1,620 points
23 views

1 answer to this question.

0 votes

C# is a programming language, and.NET refers to both the.NET Framework (an application framework library) and the Common Language Runtime (the runtime in which.NET assemblies are executed).

Because the.NET Framework and Microsoft's implementation of C# are so closely linked, it's easy to get the two concepts mixed up. However, it is critical to recognise the distinction between the two.

Below is a class in C#

class Example { }

And this one uses .NET framework explicitly

class Example
{
    static void Main()
    {
        // Here we call into the .NET framework to 
        // write to the output console
        System.Console.Write("hello, world");
    }
}

As I previously stated, using Microsoft's implementation of C# without the.NET framework is quite tough. Because Example derives from System.Object, my first Example implementation even uses the.NET framework (implicitly, yes, but nonetheless).

answered Jun 7 by pranav
• 2,580 points

Related Questions In C#

0 votes
1 answer

What is the difference between a field and a property

The internal workings of a class should ...READ MORE

answered Jun 21 in C# by jyoti
• 1,240 points
14 views
0 votes
0 answers

What are the differences between C#.net and Visual Basic.net

I have some VB.net expertise and would ...READ MORE

Jun 11 in C# by krishna
• 2,540 points
12 views
0 votes
1 answer

What is the best C# to VB.net converter

Telerik has a solid SharpDevelop-based converter that ...READ MORE

answered May 30 in C# by rajiv
• 1,620 points
69 views
0 votes
1 answer

What are the differences between C, C# and C++ in terms of real-world applications?

C is a bare-bones, straightforward, and clean ...READ MORE

answered May 30 in C# by rajiv
• 1,620 points
30 views
0 votes
1 answer
0 votes
2 answers

Is there a .NET equivalent to Apache Hadoop?

Hadoop is a Java-based platform. So, to ...READ MORE

answered Jul 16, 2020 in Big Data Hadoop by Suhana
• 340 points
668 views
0 votes
1 answer

Validate String against USPS State Abbreviations

Try something like this: private static String states ...READ MORE

answered Sep 20, 2018 in IoT (Internet of Things) by Annie97
• 2,160 points
229 views
0 votes
1 answer

Authenticate on an ASP.Net Forms Authorization website from a console app

Essentially, we need to record a regular ...READ MORE

answered Sep 20, 2018 in IoT (Internet of Things) by Annie97
• 2,160 points
263 views
0 votes
1 answer

A good and complete tutorial about reflection in .NET?

First, go to this link http://www.codeproject.com/Articles/55710/Reflection-in-NET Also, you ...READ MORE

answered Jun 6 in C# by pranav
• 2,580 points
29 views
0 votes
1 answer

Origin of the C# language name

The '#' is actually a musical sharp ...READ MORE

answered Jun 7 in C# by pranav
• 2,580 points
21 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP