what is helper class in c#

11 votes
240 views
Pawan Shukla asked 13-Nov-2017 in programming by Pawan Shukla
what is helper class in c#

1 Answer

0 votes
Arti Mishra answered 09-Sep-2018 by Arti Mishra
“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 + "!";
    }
}