PositiveGuy
PositiveGuy

Reputation: 47763

Difference between Utility and Helper classes

Aren't utility classes really the same concept as helpers? I mean utility methods don't extend an existing class such as helpers but the two types of methods really could be referred to as "Helpers" in either case.

Upvotes: 22

Views: 12687

Answers (2)

metsathya
metsathya

Reputation: 111

Utility classes are useful by itself; whereas helper classes are classes with extension methods which will help extend the types.

Upvotes: 11

user142350
user142350

Reputation: 222

Utility classes tend to be static methods and definitions, where as helper classes could be nodes in a linked list. That is how I use the terminology.

Upvotes: 0

Related Questions