Posts

Learn C Sharp Day 17

Image
Lecture 17 : Learn C Sharp IL Code : IL code also known as Common intermediate language code or Microsoft intermediate language code. IL code is a CPU independent partially half compiled code. IL code (intermediate code) or half compiled code, it’s creates at compile time. When this program will run at user system, this run time IL code is converted into machine code by JIT (just-in-time) compiler. JIT Compiler converted IL Code into Machine Code. Viewing IL code : By using ILDASM tool(IL Disassembler open the  Tool  directly from the Visual Studio) we can view a IL code of a DLL or EXE.In order to view IL code using ILDASM, go to visual studio command prompt (CMD)and run “ILDASM.EXE”. Once ILDASM is running you view the IL code. Example of IL Code with source code : Let's demonstrate IL code example. Let's first create a simple windows-application in C# and a simple button. In that button event add a simple basic code to display hello as shown in bel...

Basic Concept In C Sharp Day 16

Image
Lecture 16 : Basic Concept In C Sharp C Sharp : C#  (pronounced  see sharp , like the musical note C♯, but written with the number sign) is a general-purpose, multi-paradigm programming language encompassing static typing, strong typing, lexically scoped, imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines. C# was developed around 2000 by Microsoft as part of its .NET initiative and later approved as an international standard by Ecma (ECMA-334) in 2002 and ISO (ISO/IEC 23270) in 2003. It was designed by Anders Hejlsberg, and its development team is currently led by Mads Torgersen, being one of the programming languages designed for the Common Language Infrastructure (CLI). The most recent version is 9.0, which was released in 2020 in .NET 5.0 and included in Visual S...

Understanding Bootstrapping Angular Cycle Day 15

Image
Lecture 15 : Understanding Bootstrapping Angular Cycle Bootstrapping In Angular : Bootstrapping is a technique of initializing or loading our Angular application. Bootstrapping in Angular, let us find out how Angular works internally and bootstraps our app. Bootstrapping In Angular Cycle : @Component : In part, this is because there’s no official or that much unofficial discussion around the idea of @Component, its functionality, when and where it’s appropriate to use them. In this article, I will be covering everything you need to know about Angular’s @Component, including all the bits that beginner tutorials often exclude. Finally, we arrive at AppComponent, which is the root component of the AppModule. The code of our AppComponent is shown below : The Class AppComponent is decorated with @Component Class Decorator. The @Component class decorator provides the metadata about the class to the Angular. It has 3 properties in the above code : Selector : This pro...