what is helper class in c#

Asked 13-Nov-2017
Viewed 6229 times

1 Answer


1

“Helper Class in C#”
In an Object-oriented Programming language, a helper class is used to provide some extra functionality of the current class. It is special types of class that filled with a static or non-static method. And an instance of a helper class is also called a helper object.
what is helper class in c

For Example-
public class PrependHelper
{
    // static functions
    public static String WoofPrepend(String text)
    {
        return text + "!";
    }
    public static String WoohPrepend(String text)
    {
        return text + "!";
    }
}