Mastering C# 8.0
174 pages
English

Vous pourrez modifier la taille du texte de cet ouvrage

Découvre YouScribe en t'inscrivant gratuitement

Je m'inscris

Découvre YouScribe en t'inscrivant gratuitement

Je m'inscris
Obtenez un accès à la bibliothèque pour le consulter en ligne
En savoir plus
174 pages
English

Vous pourrez modifier la taille du texte de cet ouvrage

Obtenez un accès à la bibliothèque pour le consulter en ligne
En savoir plus

Description

Step-by-step guide written in a lucid language for mastering C#Key features Packed with plentiful code examples A comprehensive guide to mastering C# Discusses the OOP principles Targets beginner to advanced readers of C# Provides insight into the latest features of C#, including C# 8.0 Covers Visual Studio 2019Description This book starts by introducing the concepts of .NET framework. It then discusses OOP and explores how one can work with OOP in C#. There are two chapters on OOP: the first one covers the basics of object-oriented programming (OOP); and the second one delineates advanced concepts related to OOP and how they can be implemented in C#.Next, the book discusses Language Integrated Query (LINQ) and how to work with it in C#, followed by multithreading, asynchronous and parallel programming concepts with relevant code examples to illustrate the concepts covered. Generics, collections, generic collections, delegates, lambda expressions are also covered in this section.In the last section of the book, serialization, file I/O and how to work with them in C# are discussed concisely. A separate chapter on C# 8.0 is added to highlight its new features. There is an appendix chapter as well that discusses how one can get started working with Visual Studio 2019.What will you learn By the end of reading this book, the reader will have mastered the concepts of C# programming language, and be able to build high performance, scalable and robust applications using C#.Who this book is for This book is intended for people who are aspiring a career in .NET as well as for professionals who would like to master the concepts of C# programming language. Since this book is for beginner to advanced readers of C#, a basic knowledge of C# will be helpful.Table of contents1. Microsoft .NET Internals2. Getting Started with C#3. Object-oriented Programming - Part 14. Object-oriented Programming - Part 25. Properties and Indexers6. Programming LINQ in C#7. Generic Collections in C#8. Delegates and Extension Methods9. Exception Handling in C#10. Asynchrony and Parallel programming11. Multithreading in C#12. File I/O and Serialization13. Advanced Concepts in C#14. New Features of C# 8.015. AppendixAbout the authorJoydip has been the Microsoft Most Valuable Professional (MVP) in ASP.NET, consecutively for six years (2007 to 2012). With more than two decades of industry experience and 16 years of experience in Microsoft .NET, he has authored eight books and reviewed more than a dozen books. Besides, he has written more than 500 articles in leading journals and websites, including MSDN, Code Magazine, InfoWorld, SSWUG, TechTarget Inc, etc.Your Blog links: https://www.infoworld.com/blog/microsoft-coder/ Your LinkedIn Profile: https://in.linkedin.com/in/joydipkanjilal

Sujets

Informations

Publié par
Date de parution 04 novembre 2019
Nombre de lectures 5
EAN13 9789388176576
Langue English
Poids de l'ouvrage 1 Mo

Informations légales : prix de location à la page 0,0600€. Cette information est donnée uniquement à titre indicatif conformément à la législation en vigueur.

Extrait

Mastering C# 8.0
Master C# Skills with Hands-on Code Examples
by
Joydip Kanjilal
FIRST EDITION 2019
Copyright © BPB Publications, India
ISBN: 978-93-88511-605
All Rights Reserved. No part of this publication may be reproduced or distributed in any form or by any means or stored in a database or retrieval system, without the prior written permission of the publisher with the exception to the program listings which may be entered, stored and executed in a computer system, but they can not be reproduced by the means of publication.
LIMITS OF LIABILITY AND DISCLAIMER OF WARRANTY
The information contained in this book is true to correct and the best of author’s & publisher’s knowledge. The author has made every effort to ensure the accuracy of these publications, but cannot be held responsible for any loss or damage arising from any information in this book.
All trademarks referred to in the book are acknowledged as properties of their respective owners.
Distributors:
BPB PUBLICATIONS
20, Ansari Road, Darya Ganj
New Delhi-110002
Ph: 23254990/23254991
MICRO MEDIA
Shop No. 5, Mahendra Chambers,
150 DN Rd. Next to Capital Cinema,
V.T. (C.S.T.) Station, MUMBAI-400 001
Ph: 22078296/22078297
DECCAN AGENCIES
4-3-329, Bank Street,
Hyderabad-500195
Ph: 24756967/24756400
BPB BOOK CENTRE
376 Old Lajpat Rai Market,
Delhi-110006
Ph: 23861747
Published by Manish Jain for BPB Publications, 20 Ansari Road, Darya Ganj, New Delhi-110002 and Printed by him at Repro India Ltd, Mumbai
Dedicated to
My Parents Shri Amal Kanjilal and Smt. Rama Kanjilal
About the Author
Joydip Kanjilal is a Microsoft Most Valuable Professional (MVP) in ASP.NET, a speaker and the author of several books as well as articles. He received the prestigious MVP awards consecutively in 2007, 2008, 2009, 2010, 2011 and 2012.
Joydip has more than 20 years of industry experience in IT, with more than 16 years in Microsoft .NET and its related technologies. He has been selected as MSDN Featured Developer of the Fortnight and Community Credit Winner several times.
He has authored several books and more than 500 articles. Many of his articles related to ASP .NET have been featured on Microsoft’s Official Site.
Joydip has authored the following books: Entity Framework Tutorial 2nd Edition (Packt Publishing) ASP.NET Web API (Packt Publishing) Visual Studio Six in One (Wrox Publishers) ASP.NET 4.0 Programming (Mc-Graw Hill Publishing) Entity Framework Tutorial (Packt Publishing) Pro Sync Framework (APRESS) Sams Teach Yourself ASP.NET Ajax in 24 Hours (Sams Publishing) ASP.NET Data Presentation Controls Essentials (Packt Publishing)
Joydip has also reviewed several books. He was a speaker at the reputed Spark IT 2010 event and the well-respected Dr. Dobb’s Conference 2014 in Bangalore. He’s worked as a judge for the Jolt Awards at Dr. Dobb’s Journal. Joydip is a regular speaker at the SSWUG Virtual Conference. He blogs these days at: https://www.infoworld.com/blog/microsoft-coder/
About the Reviewer
Anand Narayanaswamy works as a freelance writer and reviewer based in Thiruvananthapuram. He had published articles and reviews on leading print magazines and online portals. Anand had worked as a Chief Technical Editor for ASPAlliance. He was the recipient of Microsoft MVP award from 2002 to 2011. He is currently a Windows Insider MVP and also part of the prestigious ASPInsiders group.
Anand also worked as a technical editor and reviewer for several publishers such as Packt, Sams Publishing, Addison-Wesley and others. Anand also authored the book Community Server Quickly for Packt Publishing. Anand also contribute content for Digit Magazine and Manorama Year Book.
Anand works as an Unacademy educator and also runs his own blog Netans and Learnxpress. Anand is active on social media and can be reached at @visualanand on Twitter and @ netanstech on Instagram.
During spare time, Anand used to dig deep into not only new but also old gadgets. His drawer consists of a huge pile of features phones including latest Gadgets and accessories.
Acknowledgement
First and foremost, I would like to thank everyone at BPB Publications for giving me the opportunity to write this book. My special thanks goes to the BPB team for their invaluable feedback on this book. Their expertise, insights, suggestions, and advice were of great value. I also owe a big thank you to Anand Narayanaswamy for his in-depth guidance and feedback on this book.
It was my wife, Sabita Kanjilal, who got me thinking about writing a book like this. Without a random conversation with her, I would not have started this book. Thanks to all my family members for their support and encouragement. Without a loving and caring family, I wouldn’t have had the sanity to write a single word.
Lastly, I would like to thank all my critics. Without their criticism, I would never have been able to write this book.
– Joydip Kanjilal
Preface
C# is one of the most popular programming languages around. It is a powerful and an efficient multi-purpose computer programming language with terse, but clear syntax. From the initial release of C# 1.0 back in the year 2000, the C# programming language has matured leaps and bounds. As of this writing, C# 8.0 has just been released.
This is a concise book written in a lucid language, packed with a lot of ready-to-use real-world code examples and tips on how to make the best use of the C# programming language. This book intends to help readers, who are beginners or are relatively new to C# programming, to master the concepts of C#. In addition, the book aims to assist professionals who would want to master the basic and advanced concepts of the C# programming language. This book will guide you through from the basic to advanced concepts of the C# programming language. It is a comprehensive guide to mastering C# with insights into its latest features and enhancements.
This book is divided into 15 chapters. A brief description of the objective of each chapter is given below:
Chapter 1 introduces the concepts of Microsoft.NET Framework. This chapter provides a discussion on the features and benefits of Microsoft .NET Framework—a device and independent platform that can be used for building robust, scalable and portable applications.
Chapter 2 presents a discussion on how to get started working with C# in Visual Studio.
Chapter 3 introduces the basic concepts of OOP.
Chapter 4 discusses the advanced concepts of OOP.
Chapter 5 discusses the properties and indexers in C# and how to program them.
Chapter 6 examines the concepts of LINQ and how LINQ can be used for querying data from different sources of data.
Chapter 7 discusses generics and generic collections and how to work with them.
Chapter 8 discusses delegates, lambda expressions and extension methods.
Chapter 9 discusses the concepts of exception handling, why exceptions are important, and describes how one can build custom exception classes.
Chapter 10 discusses asynchrony and parallel programming concepts.
Chapter 11 focuses on the concepts of multithreading and how to work with multithreading in C#.
Chapter 12 discusses serialization and its types, and how to work with files in C#.
Chapter 13 discusses the advanced concepts of the C# programming language.
Chapter 14 discusses the new features of C# 8.0.
Chapter 15 is the last chapter of this book and it presents a discussion on how to work with the Visual Studio 2019 IDE.
Downloading the code bundle and coloured images:
Please follow the link to download the Code Bundle and the Coloured Images of the book:
http://rebrand.ly/3fb19
Errata
We take immense pride in our work at BPB Publications and follow best practices to ensure the accuracy of our content to provide with an indulging reading experience to our subscribers. Our readers are our mirrors, and we use their inputs to reflect and improve upon human errors if any, occurred during the publishing processes involved. To let us maintain the quality and help us reach out to any readers who might be having difficulties due to any unforeseen errors, please write to us at :
errata@bpbonline.com
Your support, suggestions and feedbacks are highly appreciated by the BPB Publications’ Family.
Table of Contents
1. The Microsoft NET Ecosystem
Structure
Objective
Introduction to Microsoft .NET
Evolution of .NET framework
Common Language Runtime
Common Intermediate Language
Dynamic Language Runtime
Framework Class Library
Common Type System
Value types and reference types
Managed and unmanaged code
Just-in-Time compiler
Garbage collection
Security
Role-based security
Code access security
Conclusion
Questions
2. Getting started with C#
Structure
Objective
Building a Hello World application
Building a class library
Keywords
Constructs
Loops
Operators
Value and reference types
Boxing and unboxing
Arrays
Multidimensional array
Jagged array
Conclusion
Questions
3. Object-Oriented Programming–Part 1
Structure
Objective
Object-oriented programming (OOP)
Classes and objects
Access specifiers
Constructors in C#
Instance constructors or non-static constructors
Default constructor
Static constructors or class constructors
Constructor overloading
Constructor chaining
Access specifiers or modifiers
Constructors and inheritance
Destructors
Constructors in structs
Conclusion
Questions
4. Object-Oriented Programming –Part 2
Structure
Objective
Association
Aggregation
Composition
Generalization
Realization
Dependency
Polymorphism
Static polymorphism or compile-time polymorphism
Dynamic or runtime polymorphism
Encapsulation
Access modifier “public”
Access modifier “private”
Access modifier “protected”
Access modifier “internal”
Access modifier “protected internal”
Access modifier “private protected”
Abstraction
Inheritance
Single inherit

  • Univers Univers
  • Ebooks Ebooks
  • Livres audio Livres audio
  • Presse Presse
  • Podcasts Podcasts
  • BD BD
  • Documents Documents