Error Message
'ThreadState' is an ambiguous reference between 'System.Threading.ThreadState' and 'System.Diagnostics.ThreadState'

I am trying to debug C# Class .cs and am using Debug.Writeline for code debugging...

But am getting an error above!!

Is there another way to debug C# Code Classes ? I tried Console.Writeline() and Alert.Show and Message.Show and have not found another effective way to debug web application C# classes or way around the ambiguous reference !!