I've been into training freshers in my account for the past 1 year. The best way to learn programming is to do some stuffs or see how an experienced professional is doing it. I just hate ppts, most ppl will be sleeping.
Here I'm presenting some case studies which can be used to understand both OOPs and .NET Concepts.
Create a Console application which has a class, which has a method that accepts 2 integers and outputs the sum, the class also has a property which computes the cumulative sum, i.e, if you first call sum(1,3) and then call sum(5,6), the cumulative sum is 15. The class should raise an event when the cumulative sum is > 20 (and then reset the cumulative sum to zero). Consume this class and register a delegate and show a console.write whenever the event gets fired
No comments:
Post a Comment