I have the following code
public class IDFMeasure
{
,,,,,,,,,,
........
public float [][] GetIDFMeasure(string[] documents)
{
_docs = documents;
_numDocs = documents.Length;
MyInit();
return _termWeight;
}
}
I want to call this class in the main program. How I do it ? I’m getting confused with class types.. Can any help please? Many thanks
You don’t call a class. You instantiate a class and call its methods. You can do so like this: