المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : About a string



C# Programming
11-25-2009, 08:00 AM
Hello

I need help with this

string b1c;
b1c = "bla bla1\n";
b1c += "bla bla2\n";

now is it posible to some how to compare comboBox1.SelectedItem.ToString() where of course i have b1a b1b b1c as objects with the multiline strings i have , the problem is that i need a return only b1c so i can compare in a if(return that results(b1c) == comboBox1.SelectedItem.ToString())


Thank u in advance ppl , hope i make sense http://www.barakasoft.com/script/Forums/Images/smiley_smile.gif)