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, 2022 in C# by rajiv
• 1,620 points
668 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, 2022 by pranav
• 2,590 points

Related Questions In C#

0 votes
0 answers

What is the difference between C# and .NET?

Could you please explain the distinction between ...READ MORE

Sep 26, 2022 in C# by krishna
• 2,820 points
394 views
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, 2022 in C# by jyoti
• 1,240 points
618 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, 2022 in C# by krishna
• 2,820 points
449 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, 2022 in C# by rajiv
• 1,620 points
1,572 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
1,708 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
921 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
888 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, 2022 in C# by pranav
• 2,590 points
495 views
0 votes
1 answer

Origin of the C# language name

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

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