Monday, December 25, 2017

Introduction to C#

Computer languages have come a long way since the 1940s. During that period, scientists punched instructions into large, room-sized computer systems. These instructions were given in machine language, which consisted of a long series of zeroes and ones. These machine language instructions were executed directly by the CPU. The machine language is called the First Generation of computer languages.

The 1950s saw the emergence of the Second Generation of computer languages, the assembly language. Assembly language is easier to write than machine language but still extremely complicated for a common man. However, the computer could still understand only machine language. Therefore, the Assembler software was developed to translate the code written in assembly language into machine language.

In 1967, Martin Richard developed a language called Basic Combined Programming Language (BPCL) for writing operating systems. An operating system is a set of programs that manages the resources of a computer and its interactions with users. The era of the Third Generation of computer languages had arrived. In 1970, Ken Thompson modified BPCL to create a new language called B. While working for Bell Laboratories, Thompson teamed up with Dennis Ritchie and wrote an initial version of the Unix operating system for a DEC PDP-7 computer.

Dennis Ritchie was working on a project to further develop the Unix operating system. He wanted a low-level language, like the assembly language, that could control hardware efficiently. At the same time, he wanted the language to provide the features of a high-level language, that is, it should be able to run on different types of hardware.

“B” had performance drawbacks, so in 1972 he rewrote B and called it C. Therefore, C is categorized as both a Second and a Third Generation language. Thompson and Ritchie rewrote the Unix operating system in C. In the years that followed, C was widely accepted and used over different hardware platforms. This led to many variations of C. In 1989, the

In the early 1980s, Bjarne Stroustrup of Bell Labs developed the C++ language. In his own words, “C++ was designed primarily so that my friends and I would not have to program in assembly, C, or various modern high-level languages. Its main purpose was to make writing good programs easier and more pleasant for the individual programmer.”

C++ was originally known as ‘C with classes’ because two languages contributed to its design: C, which provided low-level features, and Simula67, which provided the class concept. C++ is an object-oriented language. Other object-oriented languages are Java, Smalltalk, and C# (pronounced as C sharp).

C# is a programming language introduced by Microsoft. C# is intended to be a simple, modern, general-purpose, object-oriented programming language. The name C# is inspired by the musical scale. On a musical scale, sharp (#) written against a note means that the note should be made half step higher in pitch. This is similar to the name C++, where ++ appended to C indicates an enhanced version of the C language.

Share This
Previous Post
Next Post

TekGrabs, established in 2017, is in the business of sharing Information. It provides news, articles and photos about the different technologies, inventions in different domains. Provides information on programming and databases.