Code:
namespace ResourcePack {
internal class ResourcePackBuilder
{
public static readonly ResourcePackBuilder Instance = new ResourcePackBuilder();
public string Build(){
return "Hello";
}
}//end ResourcePackBuilder
}//end namespace
(i.e method build doesn't be executed)
this is the declaration in other class :[When trying to call Build()]
[codde]
string st = ResourcePack.Re sourcePackBuild er.instance.Bui ld();
[/codde]
Note: working under Vista Os, C#.Net Frmework 1.1, Windowa Application
Comment