public static class Configuration { static string _shpFolder; static string _shpName; static Configuration() { _shpFolder = @"E:\CZShapes"; _shpName = "funPolygon"; } public static string ShpFolder { get { return _shpFolder; } } public static string ShpName { get { return _shpName; } } }