We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e7d674 commit a557ad6Copy full SHA for a557ad6
samples/snippets/csharp/VS_Snippets_Winforms/Classic TypeConverter Example/CS/source.cs
@@ -29,7 +29,7 @@ public void Method1()
29
{
30
// <Snippet3>
31
Color c = Color.Red;
32
- Console.WriteLine(TypeDescriptor.GetConverter(c).ConvertToString(c));
+ Console.WriteLine(TypeDescriptor.GetConverter(typeof(Color)).ConvertToString(c));
33
// </Snippet3>
34
}
35
public void Method2()
0 commit comments