How to read from a list and print the elements using C#? -
i have list consists of different bitmap images elements. question how can see content of list?
you can check count
property iterate on images in list this:
if(list1.count > 0) { foreach(var img in list1) { picturebox3.image = img; await task.delay(10); // wait 10 millisecond asynchronously } }
note: in order use await
, need make method async
.see documentation.
Comments
Post a Comment