Help and Support

Article ID: 821174 - Last Review: November 26, 2007 - Revision: 2.5

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

Expand all | Collapse all

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 (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.

REFERENCES

For additional information, see the following MSDN Web site:
Creating a Group of Radio Buttons from a String Array (Visual C#)
http://msdn2.microsoft.com/en-us/library/Aa288409(VS.71).aspx (http://msdn2.microsoft.com/en-us/library/Aa288409(VS.71).aspx)

APPLIES TO
  • Microsoft Visual C# .NET 2003 Standard Edition
  • Microsoft Visual C# .NET 2002 Standard Edition
  • Microsoft Visual C# 2005 Express Edition
Keywords: 
kbhelpfile kbwindowsforms kbdocerr KB821174

Article Translations