I've created a lightweight class with a constructor that takes around 10 parameters. The class does not change the parameter values; it just stores the values locally via the constructor.
Some parameters are reference types (strings, classes) and others are value types (int, bool, enums).
My question is should I pass all parameters (except the classes) via reference, i.e., using the keyword ref
?
My consideration here is performance.