Posts

Variables part 1

Variables Programs typically use data to perform tasks.  Creating a  variable  reserves a memory location, or a space in memory, for storing values. It is called  variable  because the information stored in that location can be changed when the program is running.  To use a variable, it must first be declared by specifying the  name  and  data type .  A variable name, also called an  identifier , can contain letters, numbers and the underscore character (_) and must start with a letter or underscore.  Although the name of a variable can be any set of letters and numbers, the best identifier is  descriptive  of the data it will contain. This is very important in order to create clear, understandable and readable code! For example,  firstName  and  lastName  are good descriptive variable names, while  abc  and  xyz  are not.

What is c#?part 2

The .NET Framework The .NET Framework consists of the  Common Language Runtime (CLR)  and the .NET Framework  class library . The  CLR  is the foundation of the .NET Framework. It manages code at execution time, providing core services such as memory management, code accuracy, and many other aspects of your code. The  class library  is a collection of classes, interfaces, and value types that enable you to accomplish a range of common programming tasks, such as data collection, file access, and working with text. C# programs use the .NET Framework class library extensively to do common tasks and provide various functionalities. These concepts might seem complex, but for now just remember that applications written in C# use the  .NET Framework  and its components.

What is C#? Part 1

Welcome to C# C# is an elegant object-oriented language that enables developers to build a variety of secure and robust applications that run on the  .NET Framework.  You can use C# to create Windows applications, Web services, mobile applications, client-server applications, database applications, and much, much more.  You will learn more about these concepts in the upcoming lessons!