Microsoft KB Archive/821174

= Descriptions of a code error in MSDN with the title &quot;Creating a Group of Radio Buttons from a String Array (Visual C#) =

Article ID: 821174

Article Last Modified on 11/26/2007

-

APPLIES TO


 * Microsoft Visual C# .NET 2003 Standard Edition
 * Microsoft Visual C# .NET 2002 Standard Edition
 * Microsoft Visual C# 2005 Express Edition

-



SUMMARY
The Example section that contains code on following Microsoft Developer Network (MSDN) Web site contains an error:

Creating a Group of Radio Buttons from a String Array (Visual C#)

http://msdn2.microsoft.com/en-us/library/Aa288409(VS.71).aspx

The following code: radioButtons[i].Text = StringArray[i];

should appear as follows:

radioButtons[i].Text = stringArray[i];



MORE INFORMATION
Because C# is a case-sensitive language, the character S in StringArray must be lowercase.

