title: Creating a class for a single function - good design
body: <p>I'm converting a C program to C#.<br>
  The program uses a function called PatternRecognition(image, param1, param2, param3, etc.. many others) which cannot be included in the "Image" class.<br>
  In C# I could create a class, say PatternRecognitor, with one method, for example Execute(image, param1, param2, param3, etc.. many others)  </p>
  
  <p>My question is: since I don't like to manage all those parameters when the function is called in several parts of the program, <strong>is a better design</strong> to make them members of the PatternRecognitor class, and set them with setter/getters functions? (or just a "SetParam" function?)</p>