Types of prompts

A zero-shot prompt is the simplest type of prompt, and you`ve probably used it a lot of times. It is just a direct instruction to perform a task, without any examples or additional conditions. A question, an instruction, the start...

ValueTask vs Task

First of all, let me say that ValueTask was introduced in C# for a very specific scenario, when a method can return a result either synchronously or asynchronously. For example, let’s imagine a method with a few execution paths: using an "if"...

How to call methods of a WPF application from a Python script

Approximately ten years ago, I had to write a plugin for a CAD system. The challenge was that, according to the business requirements, I had to develop it using C# and WPF. At the same time, the CAD system’s scripting functionality supported...