C# Example with creating a Folder
private string getMyDataPath() { return Environment.GetFolderPath(Environment.SpecialFolder.Personal) + "\\" + Application.ProductName + "\\"; }
public void init()
{
string myPath = getMyDataPath();
if (!Directory.Exists(myPath))
{
Directory.CreateDirectory(myPath);
}
}