Git Product home page Git Product logo

pro-c-sharp-10's Introduction

Apress Source Code

This repository accompanies Pro C# 10 with .NET 6 by Andrew Troelsen and Phil Japikse (Apress, 2022).

Cover image

Download the files as a zip using the green button, or clone the repository to your machine using Git.

Releases

Release v1.0 corresponds to the code in the published book, without corrections or updates.

Contributions

See the file Contributing.md for more information on how you can contribute to this repository.

pro-c-sharp-10's People

Contributors

detinsley1s avatar markp88 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pro-c-sharp-10's Issues

FunWithPartials (Chapter 5 p235) - SayHello not recognized

There appears to be a problem if the instructions for creating FunWithPartials are carried out in the exact order as printed - SayHello() in the Console.WriteLine(SayHello())l is not recognized.
The following steps appear to make the project function as expected:

  1. Create the FunWithPartials project.
  2. Add a statement such as: Console.WriteLine("***** Fun with Partials *****); to the Program.cs file
  3. Build & run the project.
  4. Add the Program.Partial.cs file to the project, and add the statements creating the partial Program class as described in the printed text (excluding the "return" keyword).
  5. Add the Console.WriteLine*SayHello()); statement to the Program.cs file. - The SayHello() parameter will be recognized by Intellisense.
  6. Build and run the project.. It should run as expected.

I would welcome confirmation that these steps are necessary and the reasons for this. and also why the "return" keyword must be left out of the statements in the Program.Partial.cs file.

The ability of adding new topics in the next version

Pro C# series is the best one that I read in my journey to learn C# (Pro C# 4.0 in .NET 4 Framework)
I want to suggest some topic to add in the next version of the book if u don't mind.
1- Explaining the how Newtwork working in C# (ex: HttpClient, Udp, Tcp etc..)
2- Explaining how Dependency injection work in .NET.
3- In Working With Interfaces chapter I would like to suggest adding a new explanation to an existing topic, the last section in this chapter show how the IComparable interface work in C# my point here is to explain the Comparison delegate because the Sort method has overload accept this delegate.
4- Adding new topic that explain the Bitwise operators.
5- Adding new topic that explain the DateOnly, TimeOnly DateTimeOffset.
6- Adding a new topic that explain how to work with Expression object in Linq.
6- Adding a new topic that explain how IEquatable interfaces work.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.