2
Answers

syntax for IF statement

Sal Rosales

Sal Rosales

16y
2.1k
1

Hi everyone,

I have this if statement:

if (ctrl.Controls[0].Controls[0] is CheckBox)

What is the syntax to check if it is NOT a CheckBox?

thanks

Answers (2)