This topic introduces the evolution of programming languages from C and C++ to Java and the Microsoft .NET platform. It explains applications, the .NET Framework and .NET editions, CLR, FCL, BCL, the .NET compilation process, managed and unmanaged code, and fundamental C# concepts such as variables, constants, naming conventions and data types.
12 Noon Class
9 AM Class
10 AM Class
> "a = 10"> "b = 20"> "MAX_AGE = 40"> "Employee Id = 101"> "Salary = 50000.5"> "Grade = A"> "Is Active = True"> "Amount = 10000.50"> "Employee Name = Sathesh"> "Optional Age = "> "Dynamic x = Hello"
Review the source's timeline covering C, C++, Java, Visual Studio and .NET.
Understand .NET as the Microsoft application development platform described in the source.
Identify C#.NET, ADO.NET, LINQ, EF Core and ASP.NET Core and their roles as described in the source.
CLR manages execution of .NET programs and provides runtime services such as memory management, security and exception handling.
FCL provides framework classes and interfaces, while BCL is described in the source as a subset providing common functionality.
C# source code is compiled into an assembly containing MSIL and metadata, then JIT compiles the code into native machine code.
Managed code is executed under the CLR/runtime environment.
Declare a variable, initialize it, or perform declaration and initialization together.
Use valid C# identifiers and follow the supplied naming conventions.
Use const when a value must remain fixed.
Learn the source's four data type categories: value, reference, nullable and dynamic types.
Variables can store changing application data, constants can represent fixed values, and suitable C# data types can model employee, financial and optional values.
The source describes .NET as a framework for building applications.
CLR stands for Common Language Runtime and manages the execution of .NET programs.
FCL stands for Framework Class Library and provides classes and interfaces used to build applications.
BCL stands for Base Class Library and is described in the source as a subset of FCL containing common functionality.
CTS stands for Common Type System.
CLS stands for Common Language Specification.
The source defines managed code as code executed by the CLR.
The source defines unmanaged code as code executed directly by the operating system and not managed by the CLR.
A variable is a name given to memory where a program can store a value that may change during execution.
The source states that a variable should start with an alphabet or underscore, may contain numbers but not start with a number, should not contain special characters except underscore, is case sensitive, and cannot use reserved keywords.
A constant is a fixed value that cannot be changed during program execution.
<data_type> <variable_name> = <initial_value>;
Value Types, Reference Types, Nullable Types and Dynamic Types.
1. What does CLR stand for?
2. What does FCL stand for?
3. What does BCL stand for?
4. What does LINQ stand for?
5. What does EF Core represent?
6. Which component manages the execution of .NET programs?
7. Which keyword is used to declare a constant?
8. Which of the following is a valid variable declaration?
9. Which category includes int, double and char according to the source?
10. Which category includes string, object and array according to the source?
11. Which syntax represents a nullable int?
12. Which keyword is used for dynamic typing?
Create variables for employee ID, employee name, salary and active status. Display their values.
