I tried to randomly generate a circle using c#. But while generating more than 20 circles in a 1000 * 1000 dimension, the circles are overlapping. Is there is any predefined function for drawing non-overlapping circles in C# or else Is there is any code for that problem.