Tag Archives: C#

C# source code

C# – First steps with C# and .NET – part 064.

This is a simple example of how to add to the Environment Variable variable Path a simple path read on the admin console. This code first retrieves the current system environment variables using the Environment.GetEnvironmentVariables method. Create a simple project with dotnet tool and add this source code:

Depending on the system security level… Read More »

C# – First steps with C# and .NET – part 063.

This new article presents a guide to running C# Azure functions in an isolated worker process. They comes also with: For complete examples, see the .NET 6 isolated sample project and the .NET Framework 4.8 isolated sample project Isolated worker processes are designed to run untrusted code in a sandboxed environment, which makes them a good choice for… Read More »

C# – First steps with C# and .NET – part 057.

If you like the NumPy package from python, then in this tutorial, I will show you how to use the NumSharp package. You can read more about this package on the GitHub webpage. Let’s see some definitions and save and load features with this package:

The result of this running source code will create… Read More »

C# – First steps with C# and .NET – part 056.

If you install the Visual Code and start a new project, you may see this on the Program.cs file.

It is a new feature to speed your start development step. Using the command dotnet run will work well. This feature is enabled in your csproj file type and will include all you need to… Read More »