I use following methods for printing some text in a different color on console.

```
        private static void WriteUpdatedBookingDetails(string text)
        {
            Console.ForegroundColor = ConsoleColor.DarkGreen;
            WriteUpdatedBookingDetails(text);
        }

```

when I execute `WriteUpdatedBookingDetails()` method from following code, it gives me an exception

> 
> An unhandled exception of type 'System.StackOverflowException' occurred in mscorlib.dll) 
> 
> 
> 

```
        static void Main(string[] args)
        {
            ...
            // Exception occurred when I call this method. 
            WriteUpdatedBookingDetails("\n- - Reconciling Updated Bookings - -"); 
            ...
            }
        }

```