[c#] How to remove all ListBox items?

isn't the same as the Winform and Webform way?

listBox1.Items.Clear();