i am dynamically adding spans to a richtextbox when user click on a button.
foreach (var item in objspanList)
Its getting added as expected. But when i add couple of times and then try to delete all , application gets crashed and unhandled exception is thrown. So not sure on the error.
Can you please suggest on this.