Book description
Learn C# in 7 days with practical examples, build a foundation for C# programming, and boost your skills to an advanced level
About This Book
- Learn the basics of C# in 7 days
- Works as a reference guide describing the major features of C#
- Build easy and simple code through real-world example scenarios
Who This Book Is For
The book is for aspiring developers and absolute novices who want to get started with the world of programming. You do not need any knowledge of C# for this book.
What You Will Learn
- Understand and set up the .NET environment
- Code in C# using the Visual Studio 2017 RC (preferable community edition) IDE
- Define variables, syntax, control flows, statements, and arrays etc through examples
- Understand the concepts of Object-Oriented Programming using C#
- Get acquainted with attributes, collection, generics, and LINQ
- Get your hands on class members such as Modifiers, Methods, Properties, Indexers, File I/O, Exception Handling, and Regex
- Build a real-world application using C# 7
In Detail
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#.
Style and approach
Fast paced guide to get you up-to-speed with the language. Every chapter is followed by an exercise that focuses on building something with the language. The codes of the exercises can be found on the Packt website
Publisher resources
Table of contents
- Preface
- Day 01 - Overview of the .NET Framework
-
Day 02 - Getting Started with C#
- Introduction to C#
- Understanding a typical C# program
- An overview of C# reserved keywords, types, and operators
- An overview of type conversion
- Understanding statements
- Arrays and string manipulations
- Structure versus class
- Hands-on exercise
- Revisiting day 2
- Day 03 - What's New in C#
- Day 04 - Discussing C# Class Members
- Day 05 - Overview of Reflection and Collections
-
Day 06 - Deep Dive with Advanced Concepts
- Playing with collections and generics
- Beautifying code using attributes
- Leveraging preprocessor directives
- Getting started with LINQ
- Writing unsafe code
- Writing asynchronous code
- Hands-on exercises
- Revisiting Day 6
- Day 07 - Understanding Object-Oriented Programming with C#
- Day 08 - Test Your Skills – Build a Real-World Application
Product information
- Title: Learn C# in 7 days
- Author(s):
- Release date: October 2017
- Publisher(s): Packt Publishing
- ISBN: 9781787287044
You might also like
audiobook
Fall in Love with the Problem, Not the Solution
Unicorns-companies that reach a valuation of more than $1 billion-are rare. Uri Levine has built two. …
book
Microsoft Visual C# Step by Step, 10th Edition
Your hands-on guide to Microsoft Visual C# fundamentals with Visual Studio. Expand your expertiseand teach yourself …
audiobook
Technically Wrong
Buying groceries, tracking our health, finding a date: whatever we want to do, odds are that …
book
Learning Web Design, 5th Edition
Do you want to build web pages but have no prior experience? This friendly guide is …