public static Database GetInstance( String name ) { if( database != null ) return database; lock( InstanceLocker ) { database = database ?? new Database( name ); return database; } }