
Learn C# in 7 days
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
More details
Person
Gaurav Aroraa is a serial entrepreneur and start-up mentor. He has done an M.Phil in computer science. He is a Microsoft MVP award recipient. He is a lifetime member of the Computer Society of India (CSI), is an advisory member and senior mentor at IndiaMentor, is certified as a Scrum trainer/coach, is ITIL-F certified, and is PRINCE-F and PRINCE-P certified. He is an open source developer and a contributor to the Microsoft TechNet community. Recently, Gaurav was awarded "Icon of the year excellence in Mentoring Technology Startups" for 2018-19 by Radio City, a Jagran initiative, for his extraordinary work during his 22-year career in the industry in the field of technology mentoring.
Content
- Cover
- Copyright
- Credits
- About the Author
- About the Reviewer
- www.PacktPub.com
- Customer Feedback
- Table of Contents
- Preface
- Chapter 1: Day 01 - Overview of the .NET Framework
- What is programming?
- What is .NET?
- What is .NET Core?
- .NET Core features
- What makes .NET Core?
- What is .NET Standard?
- Available IDEs and editors for C#
- Setting up the environment
- Hands - on exercises
- Revisiting Day 01
- Chapter 2: Day 02 - Getting Started with C#
- Introduction to C#
- History of the C# language
- Understanding a typical C# program
- 1 (System)
- 3 (Day02)
- 2 (Program)
- 4 (Main)
- 5 (Day02)
- 6 (Day02)
- 7 (Dependencies)
- 8 (Program.cs)
- Deep-dive into application using Visual Studio
- Discussing code
- Color
- Beep
- An overview of C# reserved keywords, types, and operators
- Identifiers
- Contextual
- Types
- Value type
- Data types
- Reference type
- Pointer type
- Null type
- Operators
- Discussing operator precedence in C#
- Operator overloading
- An overview of type conversion
- Implicit conversion
- Explicit conversion
- Understanding statements
- Declarative statement
- Expression statement
- Selection statement
- The if statement
- The if..else statement
- if...else if...else statement
- Nested if statement
- Switch statement
- Iteration statement
- The do...while loop
- The while loop
- The for loop
- The foreach loop
- The jump statement
- break
- continue
- default
- Exception-handling statement
- Arrays and string manipulations
- Arrays
- Types of arrays
- Single-dimensional array
- Multidimensional array
- Jagged array
- Strings
- Structure versus class
- Hands-on exercise
- Revisiting day 2
- Chapter 3: Day 03 - What'
- s New in C#
- Tuples and deconstruction
- Tuples
- The System.ValueTuple struct
- Deconstruction
- Tuple - important points to remember
- Pattern matching
- is expression
- switch statement
- constant pattern
- type pattern
- When clause in case expression
- Local functions
- Literal improvements
- Binary literals
- Digit separator
- Async Main
- Restrictions while using new signatures
- Default expressions
- Member variables
- Constants
- Infer tuple names
- Other features supposed to release
- Pattern-matching with generics
- Reference assemblies
- Hands-on exercises
- Revisiting Day 03
- Chapter 4: Day 04 - Discussing C# Class Members
- Modifiers
- Access modifiers and accessibility levels
- public
- protected
- internal
- composite
- private
- Rules for the access modifier
- abstract
- Rules of the abstract modifier
- async
- const
- event
- extern
- new
- override
- partial
- readonly
- sealed
- static
- Rules for the static modifier
- unsafe
- virtual
- Methods
- How to use a method?
- Properties
- Types of properties
- Read-write property
- Read-only property
- Computed property
- Block-bodied members
- Expression-bodied members
- Property using validation
- Indexers
- File I/O
- FileStream
- Exception handling
- try block
- catch block
- finally block
- Different compiler-generated exceptions in catch block
- User-defined exceptions
- Discussing a regular expression and its importance
- The Importance of a regular expression
- Flexible
- Constructs
- Special characters
- The period sign (.)
- The word sign (w)
- The space sign (s)
- The digit sign (d)
- The hyphen sign (-)
- Specifying the number of matches
- Hands-on exercise
- Revisiting Day 04
- Chapter 5: Day 05 - Overview of Reflection and Collections
- What is reflection?
- Reflection in use
- Getting type info
- Overview of delegates and events
- Delegates
- Declaring a delegate type
- Instances of delegate
- Delegates in use
- Events
- Declaring an event
- Collections and non-generics
- ArrayList
- Declaration of ArrayList
- Properties
- Methods
- HashTable
- Declaration of HashTable
- Properties
- Methods
- SortedList
- Declaration of SortedList
- Properties
- Methods
- Stack
- Declaration of Stack
- Properties
- Methods
- Queue
- Declaration of Queue
- Properties
- Methods
- BitArray
- Hands - on exercise
- Revisiting Day 05
- Chapter 6: Day 06 - Deep Dive with Advanced Concepts
- Playing with collections and generics
- Understanding collection classes and their usage
- Performance - BitArray versus boolArray
- Understanding generics and their usage
- Collections and generics
- Why should we use generics?
- Discussing constraints
- The value type
- The reference type
- The default constructor
- The base class constraint
- The interface constraint
- Beautifying code using attributes
- Types of attributes
- AttributeUsage
- Obsolete
- Conditional
- Creating and implementing a custom attribute
- Prerequisites
- Leveraging preprocessor directives
- Important points
- Preprocessor directives in action
- Getting started with LINQ
- Writing unsafe code
- Writing asynchronous code
- Hands-on exercises
- Revisiting Day 6
- Chapter 7: Day 07 - Understanding Object-Oriented Programming with C#
- Introduction to OOP
- Discussing Object relations
- Inheritance
- Understanding inheritance
- Types of inheritance
- Member visibility in inheritance
- Implementing inheritance
- Implementing multiple inheritance in C#
- Abstraction
- Implementing abstraction
- Abstract class
- Features of abstract class
- Interface
- Features of interface
- Encapsulation
- What are access modifier in C#?
- Implementing encapsulation
- Polymorphism
- Types of polymorphism
- Implementing polymorphism
- Hands on Exercise
- Revisiting Day 7
- What next?
- Chapter 8: Day 08 - Test Your Skills –
- Build a Real-World Application
- Why are we developing this application?
- Getting started with application development
- Prerequisites
- The database design
- Overview
- Discussing the basic architecture
- Revisiting day 08
- Index
System requirements
File format: ePUB
Copy protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePub works well for novels and non-fiction books – i.e., „flowing” text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our ebook Help page.