A Learner's Guide to Real-World Programming with C# and .NET Core
Andrew Stellman, Jennifer Greene

#Csharp
#.NET
#3D_games
#Unity
#LINQ
#Visual_Studio
#data
#Head_First
☕ C# به سبک Head First
🧠 از این کتاب چه چیزهایی یاد میگیری؟
🚀 با این مقدمه جذاب و کاملا بصری، ساخت اپلیکیشن، بازی و پروژههای مختلف رو با C#، .NET و Visual Studio یاد میگیری. از همون فصل اول دستبهکار میشی و یک بازی کامل با C# و .NET MAUI میسازی که روی Windows، Mac، Android و iOS اجرا میشه.
🧩 یاد میگیری چطور از Classها و برنامهنویسی شیءگرا استفاده کنی، با Unity بازیهای سهبعدی بسازی و با LINQ دادهها رو کوئری کنی. همه این مفاهیم رو با حل معما، انجام تمرینهای عملی و ساخت اپلیکیشنهای واقعی یاد میگیری.
👨💻 به مسیر شغلی توسعه نرمافزار علاقه داری؟ این کتاب تکنیکها و ایدههای مهم توسعه رو هم بهت آموزش میده. خیلی از افرادی که با این کتاب کدنویسی رو یاد گرفتن، حالا دولوپر حرفهای، Team Lead، استریمر برنامهنویسی و متخصصهای فعال این حوزه هستن.
📌 برای شروع به هیچ تجربه قبلی نیاز نداری؛ فقط باید واقعا بخوای یاد بگیری. این کتاب یکی از بهترین نقطهها برای شروعه.
✨ چه چیزی این کتاب رو خاص میکنه؟
🎨 اگر قبلا یکی از کتابهای Head First رو خوندی، میدونی باید منتظر چه چیزی باشی: یک قالب بصری غنی که متناسب با شیوه واقعی کارکرد مغز طراحی شده.
🧠 اگر هنوز کتابی از این مجموعه نخوندی، تجربه متفاوتی در انتظارت هست. در این کتاب، C# رو از طریق یک تجربه یادگیری چندحسی یاد میگیری که ذهنت رو درگیر میکنه؛ نه با متنهای سنگین و خستهکنندهای که خوابت میکنن.
📖 فهرست مطالب
فصل ۱. شروع ساخت اپلیکیشن با C#: خیلی سریع یک چیز فوقالعاده بساز
فصل ۲. متغیرها، Statementها و Methodها: ورود به کد C#
آزمایشگاه Unity ۱. بررسی C# با Unity
فصل ۳. Namespaceها و Classها: سازماندهی کد
فصل ۴. دادهها، Typeها، Objectها و Referenceها: مدیریت دادههای اپلیکیشن
آزمایشگاه Unity ۲. نوشتن کد C# برای Unity
فصل ۵. کپسولهسازی: Objectها چطور رازهای خودشون رو حفظ میکنن
فصل ۶. وراثت: شجره خانوادگی Objectها
آزمایشگاه Unity ۳. نمونههای GameObject
فصل ۷. Interfaceها، Casting و is: وادار کردن Classها به انجام تعهدهاشون
فصل ۸. Enumها و Collectionها: سازماندهی دادهها
آزمایشگاه Unity ۴. رابطهای کاربری
فصل ۹. LINQ و Lambdaها: کنترل دادهها رو به دست بگیر
فصل ۱۰. خواندن و نوشتن فایلها: آخرین Byte رو برای من نگه دار
آزمایشگاه Unity ۵. Raycasting
فصل ۱۱. کاپیتان شگفتانگیز: مرگ Object
فصل ۱۲. مدیریت Exceptionها: خاموش کردن آتشها بالاخره خستهکننده میشه
آزمایشگاه Unity ۶. جابجایی بین Sceneها
📘 یک کتاب جدی با تجربهای سبک و جذاب
🎯 این کتاب یک منبع جدی برای یادگیری C# است، اما نویسندهها تلاش زیادی کردهاند تا فضای اون سبک، جذاب و سرگرمکننده باقی بمونه. این چهارمین ویرایش Head First C# است و در هر ویرایش، نویسندهها با خوانندهها و افرادی که در حال یادگیری C# بودن صحبت کردهاند تا بفهمن چه روشهایی جواب میدن و چه چیزهایی نیاز به تغییر دارن.
🧠 تمام این بازنگریها با دو هدف انجام شدهاند: اول اینکه C# و مفاهیم واقعی برنامهنویسی تا جای ممکن مؤثر وارد ذهنت بشن؛ دوم اینکه فرایند یادگیری تا جای ممکن سرگرمکننده و جذاب باقی بمونه.
🔬 پشت این فضای سرگرمکننده، نظریههای جدی یادگیری قرار دارن. نویسندهها از تازهترین پژوهشهای علوم شناختی، زیستشناسی عصبی و روانشناسی آموزشی استفاده کردهاند و اونها رو با بیش از ۱۵ سال تجربه واقعی آموزش C# ترکیب کردهاند.
❓ کتاب سؤالهایی رو که احتمالا هنگام یادگیری برات پیش میان از قبل پیشبینی میکنه و همونجا جوابشون رو میده، چون ورق زدن مداوم صفحات برای پیدا کردن جواب، لذت یادگیری رو کمتر میکنه.
🧩 معماها و فعالیتهای مختلف باعث میشن فعال بمونی و تصویرهای مرتبط، توضیحهای بصری و داستانها هم به ذهنت فرصت استراحت از متنهای پشتسرهم میدن. هر صفحه طوری طراحی شده که دوستانه، دعوتکننده و جذاب باشه.
🖼️ یادگیری C# با تصویر، داستان و کمیک
🎭 کتاب Head First C# از تصویرها، داستانها، شخصیتها و حتی کمیکها استفاده میکنه تا ذهنت C# رو از مسیرهای مختلف یاد بگیره.
📚 در عین حال، تکنیکها و مفاهیم C# با جزئیات کامل پوشش داده میشن و ظاهر سرگرمکننده کتاب باعث نمیشه از عمق مطالب کم بشه.
🎯 هدف اصلی کتاب اینه که نوشتن کد و ساخت پروژه با C# رو یاد بگیری. C# یک زبان ساده و مدرنه که بهت اجازه میده پروژههای فوقالعادهای بسازی.
🌐 وقتی C# رو یاد میگیری، فقط یک زبان برنامهنویسی یاد نگرفتی؛ بلکه وارد دنیای .NET Core میشی، یک پلتفرم Open Source قدرتمند برای ساخت انواع مختلف اپلیکیشن.
🧱 مفاهیم مهمی مثل Methodها، Classها، Instanceها، Referenceها، طراحی شیءگرا، مدیریت فایل و Exception Handling رو یاد میگیری. برای مدیریت دادهها از Collectionها و LINQ یا Language-Integrated Query استفاده میکنی و حتی سراغ قابلیتهای مدرن C# مثل عبارتهای Lambda میری.
🛠️ استفاده کامل از Visual Studio
💻 کتاب از تمام ظرفیتهای Visual Studio، محیط توسعه یکپارچه Microsoft، استفاده میکنه. قابلیتهای ساده و قابلفهم این ابزار کمک میکنن کدنویسی تا جای ممکن راحت بشه.
🔍 Visual Studio فقط ابزار خوبی برای نوشتن کد نیست؛ یک ابزار آموزشی قدرتمند برای بررسی C# هم محسوب میشه. با استفاده از اون مفاهیمی مثل Methodها، Interfaceها و Referenceها رو بررسی میکنی و با Debugger داخلی، مشکلهای کدت رو پیدا و برطرف میکنی.
🌍 استفاده از مفاهیم دنیای واقعی
🧠 کتاب برای توضیح نحوه کار C# از مفاهیم دنیای واقعی استفاده میکنه تا مطالب انتزاعی راحتتر قابلدرک باشن.
🏗️ ساخت انواع مختلف پروژه، بخش مهمی از جعبهابزار یادگیری C# است. تکنولوژیهای پروژههای کتاب با دقت انتخاب شدهاند تا مؤثرترین تجربه آموزشی ممکن رو ارائه بدن.
⌨️ خیلی از پروژهها بهشکل اپلیکیشنهای Console مبتنی بر .NET Core هستن. علاوه بر اون، بیشتر فصلها پروژههای WPF یا Windows Presentation Foundation دارن؛ ابزاری که برای طراحی رابطهای کاربری دقیق روی نسخههای مختلف Windows، حتی نسخههای خیلی قدیمی مثل Windows XP، استفاده میشه.
🍎 C# فقط برای Windows نیست
💻 کاربر Mac هستی؟ کتاب یک مسیر یادگیری مخصوص تو هم داره که از Visual Studio for Mac استفاده میکنه. برای این مسیر میتونی به راهنمای مخصوص کاربران Visual Studio for Mac مراجعه کنی.
🔍 در طول کتاب واقعا وارد کد میشی و فقط دستورها رو دنبال نمیکنی؛ بلکه میفهمی هر بخش چطور کار میکنه.
🧰 تمرین مهارتهای واقعی برنامهنویسی
🚀 هدف کتاب اینه که به یک دولوپر عالی تبدیل بشی. به همین دلیل، یادگیری C# و توسعه Cross-Platform با .NET Core رو ساده و سرگرمکننده میکنه.
🏢 اما برای اینکه بهعنوان برنامهنویس یک جهش واقعی داشته باشی، مخصوصا اگر دنبال شغل توسعه نرمافزار هستی، به مهارتهای واقعی برای مدیریت پروژههای بزرگتر و تولید کد تمیز و باکیفیت هم نیاز داری.
🧪 کتاب تمرینهای زیادی در زمینه مهارتهای کاربردی توسعه داره، از جمله:
🔍 دیباگ کردن کد
📝 ساخت نمونههای اولیه کاغذی
♻️ ریفکتور کردن
✅ Unit Testing
🧪 توسعه تستمحور یا TDD
📈 توسعه تدریجی
🛠️ هرچقدر در کتاب جلو میری، از این مهارتها برای انجام پروژههای بزرگتر استفاده میکنی. تا پایان کتاب، مجموعهای از مهارتهای کاربردی و قابلارائه در بازار کار داری که میتونی در پروژههای واقعی ازشون استفاده کنی.
🎮 طراحی بازی و فراتر از اون
🕹️ در طول کتاب برای پروژههای زیادی کد مینویسی و تعداد زیادی از این پروژهها بازی هستن. دلیل این انتخاب فقط علاقه نویسندهها به بازی نیست؛ بازیها ابزارهای خیلی مؤثری برای یادگیری C# هستن، حتی اگر قصد نداشته باشی وارد توسعه بازی بشی.
🎯 چرا بازیها ابزار آموزشی مؤثری هستن؟
🎲 بازیها آشنا هستن: قراره وارد مجموعه بزرگی از مفاهیم و ایدههای جدید بشی. داشتن یک موضوع آشنا کمک میکنه فرایند یادگیری روانتر پیش بره.
🧩 بازیها توضیح پروژه رو راحتتر میکنن: قبل از شروع هر پروژه باید بفهمی دقیقا قراره چه چیزی بسازی و همین بخش گاهی بهطرز عجیبی سخته. وقتی پروژه یک بازیه، خیلی سریعتر متوجه هدف میشی و میتونی مستقیم وارد کد بشی.
😄 نوشتن بازی سرگرمکننده است: وقتی از کاری لذت میبری، ذهنت آمادگی بیشتری برای دریافت اطلاعات جدید داره. بنابراین استفاده از پروژههای بازی برای آموزش کدنویسی یک انتخاب کاملا منطقیه.
🧠 مهمتر از همه، کتاب از بازیها برای آموزش مفاهیم گستردهتر C# و برنامهنویسی استفاده میکنه. اصلهای طراحی بازی راه خوبی برای بررسی مفاهیمی هستن که در تمام پروژهها کاربرد دارن، نه فقط در بازیهای ویدئویی.
🎮 تقویت مهارتهای C# با توسعه بازی سهبعدی در Unity
🌐 Unity یک ابزار Cross-Platform برای توسعه بازیه که باهاش میشه بازیها، شبیهسازیها و پروژههای حرفهای مختلفی ساخت. این ابزار راهی جذاب و رضایتبخش برای تمرین مفاهیم C# هم هست.
🧪 به همین دلیل، مجموعهای از آزمایشگاههای اختیاری Unity در کتاب قرار گرفته. هر Unity Lab یک پروژه کوتاه و متمرکزه که مفاهیم و تکنیکهای فصلهای قبلی رو تقویت میکنه.
🧱 در این آزمایشگاهها با مفاهیم و ابزارهای اصلی Unity آشنا میشی:
🎨 ساخت شکلها و Materialهای سهبعدی
📷 استفاده از Cameraها
🧭 جابجایی بین Sceneها در Unity Editor
💻 نوشتن و دیباگ کردن کد C# برای بازیهای Unity
🖥️ ساخت رابط کاربری برای پروژههای Unity
⚛️ کار با سیستم پیشرفته Physics
🤖 استفاده از مسیریابی و Navigation مبتنی بر AI
🎯 در تمام این آزمایشگاهها، مفاهیم C# مطرحشده در کتاب رو بارها تمرین میکنی.
⌨️ از همون ابتدا کد بنویس
🧠 یکی از مؤثرترین روشهای یادگیری C#، نوشتن مقدار زیادی کده. به همین دلیل، در Head First C# با انجام دادن یاد میگیری.
🎮 تمرین کدنویسی از فصل اول و با ساخت یک بازی تطبیق حیوانات شروع میشه. هرچقدر در کتاب جلو میری، برای ساخت بازیها و اپلیکیشنهای مختلف کد مینویسی و مسئلههایی رو حل میکنی که مفاهیم مهم C# رو آموزش میدن.
✨ نویسندهها تلاش کردهاند هر پروژه منحصربهفرد، جالب و سرگرمکننده باشه. تمام پروژهها راهحل دارن و کتاب ابزارهای موردنیاز برای حل هر مسئله رو در اختیارت میذاره؛ در عین حال آزادی کافی داری تا راهکارهای خلاقانه خودت رو هم امتحان کنی.
🧠 از این کتاب چه چیزهایی یاد میگیری؟
📱 با این مقدمه سرگرمکننده و کاملا بصری، وارد C# میشی و ساخت اپلیکیشن، رابط کاربری، بازی و پروژههای دیگه رو با C#، .NET Core و Visual Studio یاد میگیری.
🚀 در این راهنمای کاملا بهروز که C# 8.0 و Visual Studio 2019 رو پوشش میده، برنامهنویسهای تازهکار از همون فصل اول یک بازی کامل میسازن.
🧩 بعد یاد میگیری چطور از Classها و برنامهنویسی شیءگرا استفاده کنی، بازیهای سهبعدی رو با Unity بسازی و با LINQ دادهها رو کوئری کنی.
🎨 تمام این کارها رو با حل معما، انجام تمرینهای دستبهکار و ساخت اپلیکیشنهای واقعی جلو میبری. تا پایان کتاب، به یک برنامهنویس مسلط C# تبدیل میشی و در طول مسیر هم حسابی لذت میبری.
✨ چه چیزی این کتاب رو خاص میکنه؟
🔬 کتاب Head First C# بر اساس تازهترین پژوهشهای علوم شناختی و نظریههای یادگیری، از یک قالب بصری غنی استفاده میکنه تا ذهنت رو فعال نگه داره؛ نه یک رویکرد سنگین و پر از متن که خوابت کنه.
🧠 چرا باید وقتت رو با تقلا برای درک مفاهیم جدید تلف کنی؟ این تجربه یادگیری چندحسی برای شیوه واقعی کارکرد مغز طراحی شده.
💬 نظرها
💭 «خیلی ممنونم! کتابهای شما کمک کردن مسیر شغلی خودم رو شروع کنم.»
—رایان وایت، دولوپر بازی
💭 «اگر تازه وارد توسعه C# شدی، به جمع ما خوش اومدی! کتاب Head First C# رو بهشدت پیشنهاد میکنم. اندرو و جنیفر یک مقدمه جمعوجور، معتبر و مهمتر از همه سرگرمکننده برای توسعه C# نوشتهاند. کاش وقتی تازه C# یاد میگرفتم، این کتاب رو داشتم.»
—جان گالووی، Senior Program Manager در تیم .NET Community شرکت Microsoft
💭 «Head First C# نهتنها تمام ظرافتهایی رو پوشش میده که فهمیدن اونها برای من مدت زیادی طول کشید، بلکه همون جادوی خاص Head First رو هم داره و خوندنش واقعا سرگرمکننده است.»
—جف کانتس، دولوپر ارشد C#
💭 «Head First C# کتاب فوقالعادهایه و مثالهای سرگرمکننده اون باعث میشن یادگیری همیشه جذاب بمونه.»
—لیندزی بیدا، Lead Software Engineer
👤 درباره نویسندگان
👨💻 اندرو استلمن دولوپر، معمار نرمافزار، سخنران، Agile Coach، مدیر پروژه و متخصص ساخت نرمافزارهای بهتره. او نویسنده و سخنران بینالمللیه و کتابهای پرفروشی در زمینه توسعه نرمافزار و مدیریت پروژه نوشته.
🏗️ اندرو یکی از متخصصهای شناختهشده تحول و بهبود سازمانهای نرمافزاری، تیمها و کدبیسهاست. او سیستمهای نرمافزاری بزرگمقیاس رو معماری و پیادهسازی کرده، تیمهای بینالمللی بزرگ رو مدیریت کرده و به شرکتها، مدرسهها و سازمانهای مختلفی مثل Microsoft، National Bureau of Economic Research، Bank of America، Notre Dame و MIT مشاوره داده.
🤝 او در این سالها فرصت همکاری با برنامهنویسهای فوقالعادهای رو داشته و معتقده چیزهای زیادی از اونها یاد گرفته.
👩💻 جنیفر گرین Agile Coach، مدیر توسعه، تحلیلگر کسبوکار، مدیر پروژه، تستر، سخنران و متخصص اصلها و Practiceهای مهندسی نرمافزاره.
🛠️ او بیش از ۲۰ ساله که در حوزههای مختلفی مثل رسانه، امور مالی و مشاوره IT نرمافزار میسازه. جنیفر با تیمهایی از دولوپرها و تسترهای حرفهای برای حل مسئلههای فنی دشوار همکاری کرده و تمرکز اصلی مسیر حرفهای خودش رو روی پیدا کردن و اصلاح مشکلهای تکرارشونده فرایند توسعه گذاشته.
📌 متن فایل شامل بخشهایی از معرفیهای متفاوت کتابه؛ اشاره به .NET MAUI در ابتدای فایل و C# 8.0 و Visual Studio 2019 در بخش پایانی، مطابق متن اصلی و بدون یکسانسازی حفظ شده.
What will you learn from this book?
Create apps, games, and more using this engaging, highly visual introduction to C#, .NET, and Visual Studio. In the first chapter you'll dive right in, building a fully functional game using C# and .NET MAUI that can run on Windows, Mac, and even Android and iOS devices. You'll learn how to use classes and object-oriented programming, create 3D games in Unity, and query data with LINQ. And you'll do it all by solving puzzles, doing hands-on exercises, and building real-world applications. Interested in a development career? You'll learn important development techniques and ideas—many who learned to code with this book are now professional developers, team leads, coding streamers, and more. There's no experience required except the desire to learn. And this is the best place to start.
What's so special about this book?
If you've read a Head First book, you know what to expect: a visually rich format designed for the way your brain works. If you haven't, you're in for a treat. With this book, you'll learn C# through a multisensory experience that engages your mind—rather than a text-heavy approach that puts you to sleep.
Table of Contents
1 Start building apps with C#: Build something great...fast!
2 Variables, statements, and methods: Dive into C# code
Unity Lab 1: Explore C# with Unity
3 Namespaces and classes: Organizing your code
4 Data, types, objects, and references: Managing your app’s data
Unity Lab 2: Write C# Code for Unity
5 Encapsulation: How objects keep their secrets
6 Inheritance: Your object’s family tree
Unity Lab 3: GameObject Instances
7 Interfaces, casting, and is: Making classes keep their promises
8 Enums and collections: Organizing your data
Unity Lab 4: User Interfaces
9 LINQ and lambdas: Get control of your data
10 Reading and writing files: Save the last byte for me
Unity Lab 5: Raycasting
11 Captain Amazing: The Death of the Object
12 Exception handling: Putting out fires gets old
Unity Lab 6: Scene Navigation
This is a serious book to help you learn C#... but we worked hard to make it feel light and engaging and keep things interesting. This is the fourth edition of Head First C#, and with each consecutive edition, we’ve talked to readers and C# learners to figure out what works and what doesn’t, refining our techniques and the way we approach each new topic. We do all of that with two goals in mind: first, to get C# and real-world programming concepts into your brain efficiently; second, to make it as fun and interesting as possible.
Behind the fun is serious learning theory: we started with the latest research in cognitive science, neurobiology, and educational psychology, and combined it with over 15 years of real-world work with people just like you looking to learn C#. We anticipate the questions you have and answer them immediately, because flipping back and forth to find answers takes away from the fun. We designed puzzles and activities to keep you engaged, and included lots of relevant graphics, visual explanations, and stories to give your brain a break from the text. Every page of the book is carefully designed to be friendly, inviting, and engaging.
Head First C# uses images, stories, characters, and even comics to help your brain learn C# in different ways
Thorough coverage of C# techniques and concepts
The main goal of this book is to help you learn to write code and build projects with C#. C# is a simple, modern language that lets you do incredible things. When you learn C#, you’re learning more than just a language. C# unlocks the whole world of .NET Core, an incredibly powerful open-source platform for building all sorts of applications. You’ll learn core concepts like methods, classes, instances, references, object-oriented design, file management, and exception handling. You’ll use collections and LINQ (Language-Integrated Query) to manage data. You’ll even dive into modern C# features, like lambda expressions.
Head First C# takes full advantage of Visual Studio, Microsoft’s integrated development with highly intuitive features that make coding as easy as possible. Not only is Visual Studio a great tool for writing code, it’s also a really valuable learning tool for exploring C#. You’ll use Visual Studio to learn and explore important C# concepts like methods, interfaces, and references, and you’ll use its debugger to sleuth out and fix problems in your code.
Head First C# uses real-world concepts to help explain how your C# works
Building different kinds of projects is an important tool in your C# learning toolbox, and we chose the technologies for those projects carefully to give you the most effective learning experience possible. Many of the projects in the book are .NET Core Console Apps. In addition, most chapters feature WPF (Windows Presentation Foundation) projects to help you in this book because it gives you tools to design highly detailed user interfaces that run on many different versions of Windows (even very old editions, like Windows XP!).
C# isn’t just for Windows! Are you a Mac user? Well, then you’re in luck! We added a learning path just for you, featuring Visual Studio for Mac. See the Visual Studio for Mac Learner’s Guide.
You’ll dive into the code, and really understand how it works
Get practice with real-world programming skills
We want you to be a great developer! That’s why the book is focused on making it fun and easy to learn the C# programming language and how to do cross-platform development with .NET Core. But if you want to make a real leap as a programmer—especially if you’re looking to land a developer job—you’ll also need real-world skills that help you tackle larger projects and produce clean, high-quality code. That’s why Head First C# also includes lots of practice with real-world programming skills, including debugging code, creating paper prototypes, refactoring, unit testing, test-driven development, and incremental development. As you progress through the book, you’ll use these skills to take on bigger and bigger projects. By the time you’re done, you’ll have picked up a set of useful (and marketable!) development skills that you can use in the real world.
Game design… and beyond
You’re going to be writing code for lots of projects throughout this book, and many of those projects are games. We didn’t do this just because we love games.
Games can be effective tools for learning and teaching C#—and in Head First C# we use them to help you learn (even if you aren't planning on doing game development). Here’s why games work as effective learning tools:
Most importantly, in Head First C# we use games throughout this book to help you learn broader C# and programming concepts. Game design principles are an effective way to learn and explore
important programming concepts and ideas that apply to any kind of project, not just video games.
Use 3D game development with Unity to reinforce your C# skills
Unity is a cross-platform game development tool that you can use to make professional-quality games, simulations, and more. It’s also a fun and satisfying way to get practice with the C# tools and ideas you’ll learn throughout this book. That’s why we included a series of optional Unity Labs in Head First C#. Each Unity Lab is a short, targeted project to reinforce the concepts and techniques you learned earlier in the book to help you hone your C# skills. You’ll learn core Unity concepts and tools: creating 3D shapes and materials and use cameras, navigating scenes in the Unity editor, writing and debugging C# code for your Unity games, building user interfaces into your Unity projects, even working with Unity’s advanced physics and AI-assisted pathfinding and navigation system—and throughout all of those labs, you’ll get practice with the C# concepts you learn throughout the book.
Write code from the very start
One of the most effective ways to learn C# is to write lots of code, so in Head First C#, you’ll learn by doing. we give you a lot of practice writing code, starting with an animal matching game in the first chapter. As you progress through the book, you’ll write code to build games and apps, solving problems that help you learn important C# concepts. We worked hard to make each of these projects unique, interesting, and fun. Every project has a solution—we’ve given you the tools to solve every problem in the book, and the freedom and flexibility to get creative on your own.
What will you learn from this book?
Dive into C# and create apps, user interfaces, games, and more using this fun and highly visual introduction to C#, .NET Core, and Visual Studio. With this completely updated guide, which covers C# 8.0 and Visual Studio 2019, beginning programmers like you will build a fully functional game in the opening chapter. Then you'll learn how to use classes and object-oriented programming, create 3D games in Unity, and query data with LINQ. And you'll do it all by solving puzzles, doing hands-on exercises, and building real-world applications. By the time you're done, you'll be a solid C# programmer--and you'll have a great time along the way!
What's so special about this book?
Based on the latest research in cognitive science and learning theory, Head First C# uses a visually rich format to engage your mind rather than a text-heavy approach that puts you to sleep. Why waste your time struggling with new concepts? This multisensory learning experience is designed for the way your brain really works.
"Thank you so much! Your books have helped me to launch my career."
Ryan White, Game Developer
"If you're a new C# developer (welcome to the party!), I highly recommend Head First C#. Andrew and Jennifer have written a concise, authoritative, and most of all, fun introduction to C# development. I wish I'd had this book when I was first learning C#!"
Jon Galloway, Senior Program Manager on the .NET Community Team, Microsoft
"Not only does Head First C# cover all the nuances it took me a long time to understand, it has that Head First magic going on where it is just a super fun read."
Jeff Counts, Senior C# Developer
"Head First C# is a great book with fun examples that keep learning interesting."
Lindsey Bieda, Lead Software Engineer.
Andrew Stellman is a developer, architect, speaker, agile coach, project manager, and expert in building better software. Andrew is an author and international speaker, with top-selling books in software development and project management, and world-recognized expert in transforming and improving software organizations, teams, and code. He has architected and built large-scale software systems, managed large international software teams, and consulted for companies, schools, and corporations, including Microsoft, the National Bureau of Economic Research, Bank of America, Notre Dame, and MIT. He's had the privilege of working with some pretty amazing programmers during that time, and likes to think that he's learned a few things from them.
Jennifer Greene is an agile coach, development manager, business analyst, project manager, tester, speaker, and authority on software engineering practices and principles. She's been building software for over twenty years in many different domains including media, finance, and IT consulting. She's worked with teams of excellent developers and testers to tackle tough technical problems and focused her career on finding and fixing the habitual process issues that crop up along the way.









