question about asynchronous operations
I am new to programming and would like to cl开发者_运维技巧arify some things about this and would greatly appreciate it if you who are more experienced could help me.
I'm currently programming windows forms and I am finding it very difficult to call methods asynchronously, since I'm currently using the background worker component to do this, and it makes the code very messy, since the same background worker is performing different functions that I am comparing via a switch, is there any recommendation for that? I am studying parallelism. net 4.0 but I do not think about it a good material, I use the Thread class to perform these tasks? What is the keyword async?
I appreciate any help and if you can thank any material for study that can be offered.
Sorry for my English ...
精彩评论