C# - Basic Information - C# Programming Bootcamp: Learn the Basics of C# Programming in 2 Weeks (2016)

C# Programming Bootcamp: Learn the Basics of C# Programming in 2 Weeks (2016)

Chapter 1. C# - Basic Information

C# is an advanced, versatile, and object-oriented language used in computer programming. Microsoft, one of the largest corporations today, developed this programming language as part of its product collection. To prove that C# is useful and reliable, ISO (International Standards Organization) and ECMA (European Computer Manufacturers Association) gave their approval for this computer language.

According to Microsoft, this C# language is designed for CLI (i.e. Common Language Infrastructure). CLI is composed of runtime environments and executable codes that allow the use of advanced programming languages on various computer architectures and platforms.

Here are the main reasons why professional programmers use C#:

· C# is an object-oriented language.

· C# is simple and easy to learn.

· C# is a component-oriented language.

· C# is a structured programming language.

· C# is high-level and versatile.

· C# can produce excellent programs.

· C# allows users to perform compilation using different computer systems.

C#’s Strongest Features

C# has some similarities with older programming languages (i.e. C, C++, and Java). It possesses excellent features that attract millions of programmers worldwide. In this section, let’s discuss C#’s best features. Check the list below:

· Indexers

· Assembly Versioning

· Boolean Conditions

· Conditional Compilation

· Windows Integration

· Properties and Events

· Simple Multithreading

The C# Environment

This section will discuss the requirements of C#. As you probably know, C# is one of the parts of the .Net framework. Thus, before studying what you can do with this language, you should be familiar with .Net.

What is .Net?

This framework is an innovative program that allows users to write various applications. These applications are:

· Web services

· Web applications

· Windows applications

The applications designed for .Net can also work in other platforms. Basically, this framework is compatible with the following programming languages:

· C++

· C#

· Jscript

· COBOL

· Visual Basic

.

Net is composed of a huge collection of codes. Here are some of the codes that you’ll encounter:

· LINQ

· ADO.NET

· Windows Forms

· ASP.Net

· Common Type System

C#’s Integrated Development Environment

Microsoft offers various tools (e.g. Visual Web Developer) t0 C# programmers. You can just go to Microsoft’s official site to get free programming tools. That means you can create lots of computer programs without spending any money. If you want, you may use Notepad (or other text editors) to create the source code for your applications. Then, use the built-in compiler of .Net to compile codes into assemblies.

How to Write C# Programs Using Mac or Linux Systems

True, this framework was created for Windows computers. However, you can still run the .NET framework even if you are using other systems (e.g. Mac or Linux). For instance, you can use a .Net variant called“Mono.” This variant has a pre-installed C# compiler and is compatible with different operating systems.