Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Practical C# Projects with .NET
  • Table Of Contents Toc
Practical C# Projects with .NET

Practical C# Projects with .NET

By : Matt Eland
close
close
Practical C# Projects with .NET

Practical C# Projects with .NET

By: Matt Eland

Overview of this book

Too many C# developers feel stuck building the same apps day in and day out - but learning through side projects can reignite your passion and level up your skills. This book offers a practical, hands-on approach to mastering .NET 9 and modern C# by building a variety of engaging applications, from interactive games and productivity tools to machine learning apps and browser-based chatbots. Each project focuses on building something useful or fun, reinforcing critical programming concepts and modern development techniques. You'll work with tools like Spectre.Console, ML.NET, Uno Platform, and more, developing everything from an adventure game and a card tracker to a voice-to-text transcriber and an AI chatbot. Written by an experienced C# engineer and teacher, this book blends technical depth with a developer-friendly tone, helping you learn faster and retain more. Along the way, you'll sharpen your understanding of core .NET capabilities and gain the confidence to apply them in your own work or hobby projects. By the end of this book, you'll not only have a portfolio of practical .NET apps - you’ll also have grown as a developer and rediscovered the joy of programming.
Table of Contents (4 chapters)
close
close
Lock Free Chapter
1
Practical C# Projects with .NET: Sharpen your C# and .NET skills to build fun console, web, game, and AI apps with modern tools and patterns

Linking our objects together

We now have our set of objects defined, but they’re not fully connected in a way that can tell a story.In this section we’ll walk through evolving our domain model into something that can function together to tell a complete version of our sample story or a potentially larger story.

Creating our adventure

With our classes and records now defined, let’s create an Adventure representing our simple time travel story from earlier.While starting at the beginning of our story may be intuitive, it’s actually slightly more simple to start with the nodes that don’t have any choices of their own:

StoryNode stranded = new("Stranded") {
    Text = ["It seems you failed to account for the Earth being at different points in its orbit over time."]
};
StoryNode destroy = new("Destroy") {
    Text = ["The device collapses, compressing all of time and space along with it."]
};

Notice how we are specifying...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Practical C# Projects with .NET
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon