I am trying to call a static function from a class but the intellisense is not picking it up?
the function return
public static ArrayList GetInfo(int infoID)
and i am calling from somewhere else in another class, I was trying to do something like
var myitem = myClassName.GetInfo(x);
but intelisense doesnt pick it up… as I type myClassName.
How can i call it? if at all possible
PS: I cant change the signature of the method :(.
normally you do have a
namespaceas well, plus that static method has to be inside it’s own class, for example, something like:now, no matter where you are in your application, and if that library is referenced to your current project you simply call it
remember that you need to give the full path and if your namespace is called
namespace Model.Helpers { ...then the full path will be:
is you are using the
usingdeclarationyou can use