C# Programming Fundamentals
()
About this ebook
The thirteen chapters gently guide the newbie with plenty of examples, while it also offers clear explanations of C# programming concepts to those already familiar with the language.
Author and Microsoft Specialist James Lombard, brings his twenty years of experience in the IT industry to present a book that is a great starting point for new programmers and an excellent study guide for those who wish to learn more about the fundamentals of the C# programming language.
Read more from James Lombard
James Learning Javascript Programming Rating: 0 out of 5 stars0 ratingsASP.NET Application Development Fundamentals Rating: 0 out of 5 stars0 ratings
Related to C# Programming Fundamentals
Related ebooks
C# Programming Illustrated Guide For Beginners & Intermediates: The Future Is Here! Learning By Doing Approach Rating: 0 out of 5 stars0 ratingsC# Programming from Zero to Proficiency (Introduction): C# from Zero to Proficiency, #0 Rating: 0 out of 5 stars0 ratingsC# For Beginners: An Introduction to C# Programming with Tutorials and Hands-On Examples Rating: 0 out of 5 stars0 ratingsC# Programming from Zero to Proficiency (Beginner): C# from Zero to Proficiency, #2 Rating: 0 out of 5 stars0 ratingsC# for Beginners: Learn in 24 Hours Rating: 0 out of 5 stars0 ratingsMastering C# 8.0: Master C# Skills with Hands-on Code Examples (English Edition) Rating: 0 out of 5 stars0 ratingsLearn WPF MVVM - XAML, C# and the MVVM pattern Rating: 4 out of 5 stars4/5A Quick Guide to c# with Unity: Quick Guides, #1 Rating: 5 out of 5 stars5/5C# 7 and .NET Core Cookbook Rating: 0 out of 5 stars0 ratingsC++ Programming Language: Simple, Short, and Straightforward Way of Learning C++ Programming Rating: 4 out of 5 stars4/5Programming Language Concepts: Improving your Software Development Skills Rating: 0 out of 5 stars0 ratingsStart-to-Finish Visual C# 2015 Rating: 5 out of 5 stars5/5C in 30 Pages Rating: 5 out of 5 stars5/5Objective-C Programming For Dummies Rating: 4 out of 5 stars4/5Unity from Proficiency to Mastery (C# Programming): Unity 5 from Proficiency to Mastery, #2 Rating: 0 out of 5 stars0 ratingsC# Programming & Software Development: 6 In 1 Coding Syntax, Expressions, Interfaces, Generics And App Debugging Rating: 0 out of 5 stars0 ratingsMicrosoft Visual C++ Windows Applications by Example Rating: 4 out of 5 stars4/5Programming Concepts in C++ Rating: 0 out of 5 stars0 ratingsC Programming for Beginners: Your Guide to Easily Learn C Programming In 7 Days Rating: 4 out of 5 stars4/5C Programming For Beginners: The Simple Guide to Learning C Programming Language Fast! Rating: 5 out of 5 stars5/5Visual Basic .NET for complete beginners Rating: 5 out of 5 stars5/5Visual Studio Code: End-to-End Editing and Debugging Tools for Web Developers Rating: 0 out of 5 stars0 ratingsTest-Driven iOS Development with Swift Rating: 5 out of 5 stars5/5Objective-C Programming Nuts and bolts Rating: 0 out of 5 stars0 ratingsMastering C# and .NET Framework Rating: 5 out of 5 stars5/5
Computers For You
Deep Search: How to Explore the Internet More Effectively Rating: 5 out of 5 stars5/5SQL QuickStart Guide: The Simplified Beginner's Guide to Managing, Analyzing, and Manipulating Data With SQL Rating: 4 out of 5 stars4/5Mastering ChatGPT: 21 Prompts Templates for Effortless Writing Rating: 5 out of 5 stars5/5How to Create Cpn Numbers the Right way: A Step by Step Guide to Creating cpn Numbers Legally Rating: 4 out of 5 stars4/5Network+ Study Guide & Practice Exams Rating: 4 out of 5 stars4/5Procreate for Beginners: Introduction to Procreate for Drawing and Illustrating on the iPad Rating: 0 out of 5 stars0 ratingsThe ChatGPT Millionaire Handbook: Make Money Online With the Power of AI Technology Rating: 0 out of 5 stars0 ratings101 Awesome Builds: Minecraft® Secrets from the World's Greatest Crafters Rating: 4 out of 5 stars4/5Creating Online Courses with ChatGPT | A Step-by-Step Guide with Prompt Templates Rating: 4 out of 5 stars4/5Ultimate Guide to Mastering Command Blocks!: Minecraft Keys to Unlocking Secret Commands Rating: 5 out of 5 stars5/5AP Computer Science Principles Premium, 2024: 6 Practice Tests + Comprehensive Review + Online Practice Rating: 0 out of 5 stars0 ratingsCompTIA Security+ Practice Questions Rating: 2 out of 5 stars2/5Grokking Algorithms: An illustrated guide for programmers and other curious people Rating: 4 out of 5 stars4/5Everybody Lies: Big Data, New Data, and What the Internet Can Tell Us About Who We Really Are Rating: 4 out of 5 stars4/5CompTIA IT Fundamentals (ITF+) Study Guide: Exam FC0-U61 Rating: 0 out of 5 stars0 ratingsChildhood Unplugged: Practical Advice to Get Kids Off Screens and Find Balance Rating: 0 out of 5 stars0 ratingsChatGPT Ultimate User Guide - How to Make Money Online Faster and More Precise Using AI Technology Rating: 0 out of 5 stars0 ratingsPractical Lock Picking: A Physical Penetration Tester's Training Guide Rating: 5 out of 5 stars5/5Elon Musk Rating: 4 out of 5 stars4/5Dark Aeon: Transhumanism and the War Against Humanity Rating: 5 out of 5 stars5/5The Professional Voiceover Handbook: Voiceover training, #1 Rating: 5 out of 5 stars5/5Master Builder Roblox: The Essential Guide Rating: 4 out of 5 stars4/5Hacking: Ultimate Beginner's Guide for Computer Hacking in 2018 and Beyond: Hacking in 2018, #1 Rating: 4 out of 5 stars4/5
Reviews for C# Programming Fundamentals
0 ratings0 reviews
Book preview
C# Programming Fundamentals - James Lombard
Lombard
INTRODUCTION
Welcome
Whether you are new to programming or already an experienced programmer, this book will guide you step-by-step into the exciting world of C# programming. Regardless of whether you choose to create Windows applications, Web applications, Xbox games, or Windows Mobile applications; the skills you will learn here are applicable to all these various trades.
C# has fast become one of the world’s most popular programming languages. Not only is it robust and powerful, but can be applied to many environments such as the PC, internet, and mobile devices.
This book will introduce you to all the major concepts of the C# language. While it’s not an exhaustive resource on the subject, it will give you a solid foundation from which you can expand your skills into more advance topics.
How is This Book Different?
Given, there are a multitude of introductory books on C# programming. Some will go into great depths while others may omit crucial basic concepts. After reviewing many of these books, it was decided that this book needs to reflect the everyday elements used in the real world. The text is short and to the point. It focuses on relaying a concept to you. Not only does this save you hours of studying cumbersome theory, but it gets you programming as quick as possible.
Experience has shown that newcomers to programming often get stuck on terminologies. So, every effort has been made to present this material to you in plane simple English. Only after explaining a concept, the correct terminology will be introduced.
Furthermore, this book is part of a growing series of C# tutorials that was written with a passion to teach C# programming. This is your first step to learning a skill that is not only fun, but also lucrative.
How to Use This Book
The chapters in this book were designed so that each chapter builds on the knowledge you’ve gained in the previous chapters. Each chapter also deals with a fundamental concept in C# so that you can easily use it for future reference.
The book is meant to be used as a work book, so we encourage you to tryout and work along with the examples that are presented in each chapter. This will not only familiarize you with the syntax of the C# language, but also the development environment.
Conventions
All programming examples and results will be presented by images from the actual editor or window. Other formatting in the text is meant to distinguish specific elements:
· Italics – A terminology.
· "Italics" – A custom name or literal text.
· Bold – A C# keyword, window, control, or menu option.
Trademarks
Microsoft, Windows, Visual Studio, C#, Visual C#, and .NET Framework, are registered trademarks of the Microsoft Corporation.
GETTING STARTED
Integrated Development Environment
The fastest way to learn and develop in C# is with Microsoft’s Visual Studio. This is a fully integrated development environment (IDE), which provides you with all the tools you require to develop complete applications from start to finish.
If you already have a version of Visual Studio installed, any version from Visual Studio 2005 upwards will do for the purposes of this book.
Microsoft provides an express edition of Visual Studio, which you can download, install and use without any charge. At the time of this writing, you can download and install Visual Studio 2010 Express from the following URL:
http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-csharp-express
Follow the installation instructions and remember to register your Visual Studio. It will install on any one of the following operating systems:
· Windows XP with Service Pack 3 (32 bit version)
· Windows Vista with Service Pack 2 (32/64 bit version)
· Windows 7 (32/64 bit version)
You’re system must meet the following minimum requirements:
· 1GB (32 bit) or 2GB (64 bit) memory
· 3GB Hard drive space
· DirectX 9
Setup the IDE
This book will refer to three windows in Visual Studio; the Editor, the Solution Explorer, and the Error List. The Editor will automatically be displayed when you start a new project, or open an existing C# file. The Solution Explorer and Error List windows can be activated from the top View menu if they’re not already displayed.
You can drag, size, and dock these windows as you please. Since the Editor is where you’ll be doing all the work, it makes sense to give it the majority of screen space. A common layout is to dock the Solution Explorer to the right and the Error List to the bottom of the IDE.
The Solution Explorer will display a tree view list of all the files that makes up your project. If an error is found, it will be displayed in the Error list, along with the line number where the error was found.
Once the Editor window opens and you find there are no line numbers, you can activate them through Tools > Options on the top menu. In the dialog window, expand Text Editor and select C#, then tick Line Number