Theory:
➤ What to dot(.) net framework ?
- Microsoft.NET is a Framework.
- Microsoft C# (pronounced C Sharp) developed by Microsoft Corporation, USA .
- New programming language that runs on the .NET Framework.
- C# is simple, modern, type safe, and object oriented.
- C# code is compiled as managed code.
- Combines the best features of Visual Basic, C++ and Java.
➤ Console program for printing "Hello World".
Code:
namespace HelloWorld
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!"); Console.ReadLine();
}
}
}
OUTPUT: Hello World!
- Common Language Runtime (CLR)
- NET Framework Class Library (FCL)
- Interoperability
- Common Type System (CTS)
- Asynchronous Programming
- Portability
- High Performance
- Memory Management
- Security
Conclusion:
Why dot(.) net is widely used? Or any other point.
- Productive:.NET helps you develop high quality applications faster.
- Any app, any platform: With .NET you can target any application type running on any platform.
- Loved by developers:.NET is a modern, innovative, open source development platform and developers love it
- Performance where it matters:.NET is fast. Really fast! That means applications provide better response times and require less compute power.
- Trusted and secure: The .NET platform is officially supported by Microsoft and trusted by thousands of companies and millions of developers.
- Open source: The .Net Foundation is an independent non-profit supporting the innovative, commercially friendly, open source .NET ecosystem.