using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
static class Utility
{
public static string GetApplicationPath()
{
string startupFile = System.Reflection.Assembly.GetExecutingAssembly().Location;
int lastIndex = startupFile.LastIndexOf('\\');
startupFile = startupFile.Substring(0, lastIndex);
return startupFile;
}
}