Category: C#
-
C# Error – The configuration file ‘appsettings.json’ was not found and is not optional
You receive the following error message when running a C# program that uses a Json configuration file.
-
When to Use “this” in C# .NET Code
This .NET C# blog post will explain when to use the “this” keyword in a C# application and its purpose.
-
C# Error -‘ServiceController’ could not be found in the namespace
This blog post will show you how to fix the following .NET C# build error when trying to work with Windows Services.
-
How to Enable Developer Mode on Windows 11 Using PowerShell
In this blog post, we will show you how to enable Developer Mode on Windows 11 using PowerShell.
-
C# Universal Windows Platform (UWP) Apps: Everything You Need to Know
.NET and C# are two of the most popular programming languages in the world and with good reason.
-
How to Use Global Using Statements in C#
In C#, you can use the global using statement to make sure that a particular namespace is always loaded.
-
Create C# Console App With PowerShell
In this blog post, we will show you how to create a C# console app with PowerShell. We will walk you through the steps required to get your project up and running and explain some of the key concepts involved.
-
How to Pass Arguments to C# App Using .NET CLI
In this article, we will discuss how to pass arguments to C# applications using the .NET CLI.
-
Get IP Address and Host Name With C# 10
In this article, we will show you how to get the IP address and host name with C# 10. We will be using the System.Net.Dns class for this purpose.
-
Pass Arguments To a C# Application From The Command-Line
Passing arguments to a C# .NET application from the command line can help pass values and variables and process information.
-
Calculate X Days From A Date With C# .NET
C# is a multi-paradigm language and has properties of various programming languages such as C++, Java and Basic. C# is based on the Common Language Infrastructure (CLI) specification.
-
Ask A User For Date Input With C# 9
This blog post will show you how to ask a user for date input in C# 9. This is important because the computer needs information before it can process anything else. We will be showing a code example so that you can get an idea of your best option depending on what type of program…