I've a lot of properties (around 20) in my project, which are returning the same class' new object (with the different parameters passed), therefore the code looks redundant. Is there any approach or the design pattern by which I can reduce the amount of code and perform the same operation. I did search and try but couldn't find any. My code is like:

```
        public MyClass Prop1
        {
            get
            {
                return new MyClass(0, 0);
            }
        }

        public MyClass Prop2
        {
            get
            {
                return new MyClass(0, 1);
            }
        }

        public MyClass Prop3
        {
            get
            {
                return new MyClass(1, 1);
            }
        }

        public MyClass Prop4
        {
            get
            {
                return new MyClass(2, 4);
            }
        }

```

Any help would be appreciated. Thanks.

**Edit:**

I'm using *iTextSharp* to generate the PDF, where I've to pass the different colors, so I'm creating the properties with the colors required and using them while generating the PDF.
Here `MyClass` is the `BaseColor` class of *iTextSharp* and the parameters passed are the *RGB* values. Each property generates a different color.