Check out example codes for "headless chromedriver C#". It will help you in understanding the concepts better.

Code Example 1

ChromeOptions options = new ChromeOptions();

options.AddArguments(new List<string>() 
{
  "--silent-launch",
  "--no-startup-window",
  "no-sandbox",
  "headless",
});

ChromeDriver driver = new ChromeDriver(options);

Learn ReactJs, React Native from akashmittal.com