Click here to Skip to main content
15,889,758 members
Articles / Desktop Programming / WPF

Always Trim Hard-Coded Control Name String Before Assignment To Avoid Misleading Compile Error Message

Rate me:
Please Sign up or sign in to vote.
1.00/5 (3 votes)
6 Feb 2010CPOL 4.7K   1  
aCanvas.Name = "aCanvas ".Trim();

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions