Check out example codes for "wpf c# select folder path". It will help you in understanding the concepts better.

Code Example 1

var dialog = new FolderBrowserDialog();
    dialog.ShowDialog();
    folderpathTB.Text = dialog.SelectedPath;

Learn ReactJs, React Native from akashmittal.com