Check out example codes for "c# get month number from name". It will help you in understanding the concepts better.
Code Example 1
int month = DateTime.ParseExact(MonthNameStr, "MMMM", CultureInfo.CurrentCulture ).Month
Learn ReactJs, React Native from akashmittal.com