Book Image

Learn C# in 7 days

By : Gaurav Aroraa
1 (1)
Book Image

Learn C# in 7 days

1 (1)
By: Gaurav Aroraa

Overview of this book

This book takes a unique approach to teach C# to absolute beginners. You’ll learn the basics of the language in seven days. It takes a practical approach to explain the important concepts that build the foundation of the C# programming language. The book begins by teaching you the basic fundamentals using real-world practical examples and gets you acquainted with C# programming. We cover some important features and nuances of the language in a hands-on way, helping you grasp the concepts in a fluid manner. Later, you’ll explore the concepts of Object-Oriented Programming (OOP) through a real-world example. Then we dive into advanced-level concepts such as generics and collections, and you’ll get acquainted with objects and LINQ. Towards the end, you’ll build an application that covers all the concepts explained in the book. By the end of this book, you will have next-level skills and a good knowledge of the fundamentals of C#.
Table of Contents (15 chapters)
Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Introduction to C#


In simple words, C# (pronounced See-Sharp) is a programming language that is developed by Microsoft. C# is approved by International Standards Organization (ISO) and European Computer Manufacturers Association (ECMA).

This is the definition on the official website (https://docs.microsoft.com/en-us/dotnet/csharp/tour-of-csharp/index):

C# is a simple, modern, object-oriented, and type-safe programming language. C# has its roots in the C family of languages and will be immediately familiar to C, C++, Java, and JavaScript programmers.

Language C# is designed to adhere to Common Language Infrastructure (CLI), which we discussed on day one.

C# is the most popular professional language because of the following reasons:

  • It is an object-oriented language
  • It is component-oriented
  • It is a structured language
  • The main part that makes it the most popular: this is a part of the .NET Framework
  • It has a unified type system, which means all types of language C# inherits from a single type object...