Saturday, August 26, 2023

Wizard

good topic on wizard

  1. Nullable Types in C#
  2. In this article, we will extensively break down the concept of Nullable types in C#. We will discuss the kinds of Nullable types in C#, their characteristics, and how we can use them when building applications.

  3. SimpleWizardUpdate
  4. The SimpleWizardUpdate is a complete rewrite of the SimpleWizard project that was first posted on CodeProject in 2010 but later moved to github. The last activity was 5 years ago and the owner has shut the project down.

  5. Nullable value types (C# reference)
  6. A nullable value type T? represents all values of its underlying value type T and an additional null value. For example, you can assign any of the following three values to a bool? variable: true, false, or null. An underlying value type T cannot be a nullable value type itself.

  7. Type-testing operators and cast expressions - is, as, typeof and casts
  8. These operators and expressions perform type checking or type conversion. The is operator checks if the run-time type of an expression is compatible with a given type. The as operator explicitly converts an expression to a given type if its run-time type is compatible with that type. Cast expressions perform an explicit conversion to a target type. The typeof operator obtains the System.Type instance for a type.

  9. Default values of C# types (C# reference)
  10. The following table shows the default values of C# types:

  11. Nullable reference types
  12. In a nullable oblivious context, all reference types were nullable. Nullable reference types refers to a group of features enabled in a nullable aware context that minimize the likelihood that your code causes the runtime to throw System.NullReferenceException. Nullable reference types includes three features that help you avoid these exceptions, including the ability to explicitly mark a reference type as nullable:

  13. Digging Into Nullable Reference Types in C#
  14. This topic has been on my TODO: list for quite a while now. As I work with clients, many of them are just ignoring the warnings that you get from Nullable Reference Types. When Microsoft changed to make them the default, some developers seemed to be confused by the need. Here is my take on them: I also made a Coding Short video that covers this same topic, if you’d rather watch than read:

  15. The current .NET SDK does not support targeting. Net 6.0 Use target 5.0 or lower On Visual 2022 17.3.1
  16. The current .NET SDK does not support targeting. Net 6.0 Use target 5.0 or lower On Visual 2022 17.3.1

  17. Adding configuration to windows forms on .NET 5.0
  18. I'm migrating an existing windows forms C# app to .NET 5.0 and I'm trying to follow the instrutions presented on the migration docs. Everything is working ok, but there's still one thing to do: migrate the debug/release settings from app.config files.

  19. How to upgrade a Windows Forms desktop app to .NET 7
  20. This article describes how to upgrade a Windows Forms desktop app to .NET 7. Even though Windows Forms runs on .NET, a cross-platform technology, Windows Forms is still a Windows-only framework. The following Windows Forms-related project types can be upgraded with the .NET Upgrade Assistant:

  21. Upgrade a Windows Forms App to .NET 5 with the .NET Upgrade Assistant
  22. Upgrade a Windows Forms App to .NET 5 with the .NET Upgrade Assistant

No comments:

Post a Comment