Check out example codes for "ocr library for c#". It will help you in understanding the concepts better.
Code Example 1
using System;using IronOcr;//..var Ocr = new AutoOcr();var Result = Ocr.Read(@"C:\path\to\image.png");Console.WriteLine(Result.Text);
Learn ReactJs, React Native from akashmittal.com