1. How to check whether a checkbox is checked or not in c sharp (c#)
if (checkBox1.Checked)
MessageBox.Show(“The checkbox1 is checked”);
if (checkBox1.Checked == false)
MessageBox.Show(“The checkbox1 is not checked”);
2.How to create a boolean array in c sharp (c#)
Boolean[] var = new Boolean[8];
3.How to replace string in c sharp (c#)
string str = “hai how r u”;
MessageBox.Show(str); // o/p : hai . . . → Read More: c sharp (c#) questions and answers
Recent Comments