Check out example codes for "c# creating a data recovery software". It will help you in understanding the concepts better.

Code Example 1

[DllImport("kernel32.dll", CharSet=CharSet.Auto)]
static extern IntPtr FindFirstFile(string lpFileName, out WIN32_FIND_DATA lpFindFileData);

Learn ReactJs, React Native from akashmittal.com