Mastering C#: The Ultimate Beginners And Intermediates Guide to Learn C# Programming
In One Day
with Exercises and Quizzes,
A Step by Step Guide
(Effective Computer Programming Languages)
By
Dennis Sharp
C opyright 2019
All rights reserved. No part of this publication may be reproduced, distributed, or transmitted in any form or by any means, including photocopying, recording, or other electronic or mechanical methods, without the prior written permission of the publisher, except in the case of brief quotations embodied in critical reviews and certain other noncommercial uses permitted by copyright law.
T his book is written to help you learn to code in C# immediately and with a very good understanding of the fundamental principles of programming
In this book, you will learn the fundamentals of C# programming. No prior programming experience is required . You will learn everything from scratch. For an absolute beginner this book explains complex concepts in a simple, clear, concise and step-by-step way manner for easy understanding. If you are already a programmer writing programs in other languages but new to C#, this book will bring you up to speed to start coding in C# immediately.
This is a great book for anyone who wants to get started with C# or programming in general. It is never too early or too late! All you need to learn programming is passion and determination.
The examples in this book are packed with carefully designed exercises that help you learn how to think like a programmer and to demonstrate the concepts being explained and for deeper understanding.
For intermediate C# developers, from Chapter Nine to Thirteen, you will sharpen your skills and knowledge on the principles of object orientation including encapsulation, inheritance and polymorphism. I will show why encapsulation is important and how it helps writing a robust code. I will talk about inheritance ; it is a way to reuse code and unfortunately it is abused by a lot of amateur designer and developers I will show the promise in inheritance and introduce you to the concept of composition as a more flexible way to reuse code we will talk about polymorphism , I will show how use a piece of code that has a lot of if/ else and switch case statements and refactor it into an object oriented style you will also learn how to change the behavior of an application by extending it so instead of changing the existing code which may affect the quality of your application behavior instead you extend it by creating new classes that will change the behavior of your application and this is extremely perfect. Finally, we talk about interfaces; I will show how interfaces improve the testability and extensibility of your applications. Also an introduction to unit testing. I hope you will be a better developer after reading this book..
From Chapter Fourteen to the end We are going to be discussing Advance topics like LINQ, Lambda expressions, delegates and events, exception methods, nullable type, Generics, Exception handling etc. As the English proverb said: "The taste of the pudding is in the eating . Let dive in.
You can download the source code for the exercises and all the sample programs in this book at
http://dennissharp.aliencoreedge.com/
Or send me a mail at dennissharp@aliencoreedge.com
Contact Information
I would love to hear from you.
For feedback or queries, you can contact me at .
TABLE OF CONTENT
W elcome to C#! Basic programming and am so glad that you picked up this book!
This book is designed to help both novices and skilled programmers, to learn C# programming fast. The aim of this book is to make Nonprogrammers learn basic skills that underlie good programming in C# and experienced developers to receive a rigorous explanation of the language, which may improve their programming skills
By the end of the book, you should have no challenges writing and debugging your own C# programs. Using Micro soft Visual Studio Ready to start?
We have so much to learn, so let us get started
What is C#?
C # (pronounced C-Sharp ) is a programming language developed at Microsoft by a team led by Anders Hejlsberg and Scott Waltemath, it was designed specifically for the .NET platform to aid quicker and easy migration to .NET. C# by programmers who has their roots and previous experiences in C, C++ and Java, adapting the best features of each and adding new features of its own. Because C# has been built upon such widely used and well-developed languages, programmers find learning C# to be easy and enjoyable.
C# is an eventful, object-oriented, Microsoft visual programming language where programs are written with the help of an IDE preferable Microsoft Visual Studio an Integrated Development Environment (IDE). With this IDE, one can write, run, test and debug C# programs conveniently, one of benefit is time reduction in producing a working program as to compare with the fraction of the time it would have taken
Next page