Giter Club home page Giter Club logo

csharp-dotnet's Introduction

C# and .NET

An Overview of C# and .NET

  • C# is an object-oriented language. It supports all the good old features of Java's objects.
  • One aspect where C# kinda beats Java is the unified type system. Everything is an object in C# whether it be a primitive like an integer or a custom type. You don't need to wrap the int type as you'd do in Java.
  • C#, too, has support for functional programming in the form of lambdas and immutable types.
  • C# is statically type, meaning it enforces type safety at compile time. It also enforces type safety in runtime.
  • C# is strongly typed! You can't just add a float to a integer unless you explicitly do some form of casting.
  • C# can also be a dynamic language just like Python, hhmmm!!?
  • The Common Language Runtime provides automatic memory management. A garbage collector takes care of and freeing memory. You can use pointers, although you might never use them and using them is restricted.
  • CLR? is that the equivalent of JVM?!
  • .NET consists of the CLR and a bunch of libraries that include core libraries and other applied libraries, whatever that means.
  • C# is a managed language that gets compiled into managed code which gets executed by the CLR. The code executed by the CLR is in the form of either an executable file (.exe) or a library (.ddl).
  • The CLR converts the intermediate language (which I think is equivalent to bytecode) into native machine code though aJIT (just in time compilation) mechanism.
  • With .NET Native, you can compile code directly into native code.

csharp-dotnet's People

Contributors

ahmaazouzi avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.