To run examples with dotnet SDK:

Make sure that dotnetSDK is installed

On the root of: dbc_api_net
run the following commands

dotnet new console

Edit the csproj file

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net6.0</TargetFramework>
    <ImplicitUsings>enable</ImplicitUsings>
    <StartupObject>DeathByCaptcha.HcaptchaExampleRqdata</StartupObject>
    <Nullable>enable</Nullable>
  </PropertyGroup>

StartupObject is the file that will run

dotnet build
dotnet run

make sure to include correct paramenters and credentials
on the example file before build/run the project.