If you want a compile error, Debug.Assert
is not for you: it creates errors when running the application in debug.
To create an error on compilation, you should change your constructor:
public Inflicted (string param1, params string[] otherParams) {
}
Since the params
argument can be empty, this will force calls to the constructor to have at least 1 argument.