Thread: String to Color
View Single Post
Old 10-13-2004, 11:42 PM   #1 (permalink)
sureshkumar_kc
Registered User
 
sureshkumar_kc's Avatar
 
Join Date: Sep 2004
Posts: 12
sureshkumar_kc is on a distinguished road
String to Color

Color nn=new Color();
string ss;
ss="Red"

--------
nn=(color)ss.ToString();
-------------
I want convert string to color i.e i am storing red color in string
so I want assign that value in nn
sureshkumar_kc is offline   Reply With Quote