Reputation: 362
I have property below:
[Description("Name Of Person")]
public string FirstName {get; set;}
is there any way to use resource for "Name of person" statement similar below:
[Description(MyResource.FirstName)]
public string FirstName {get; set;}
Upvotes: 0
Views: 89
Reputation: 77
Yes there is you use resource files. The following article describes how to use them from code
http://msdn.microsoft.com/en-us/library/gg418542.aspx
But i think that visual studio has pretty good designer for that purpose.
Upvotes: 1