简体   繁体   中英

Object-oriented programming in VB.NET and C#

can any one suggest some good tutorials where i can read about the actual object oriented concepts which we use in real time scenarios. Not the "class is a container. fruit is a parent class and apple is a child class" kind of stuff.

Recently i was developing a multithreaded GUI application in vb.net and found out many obstacles like using one form's element in another form, changing form property in other class, when to create objects to access elements and many other stuff stumped me.

Can some one pleas suggest some links.

What you're describing aren't OO concepts, they're concurrency concepts. You can learn some about it here: http://en.wikipedia.org/wiki/Concurrency_pattern . You can read about some specific design patterns related to concurrent programming here: http://en.wikipedia.org/wiki/Concurrency_pattern

This looks like a good read for C# specific stuff.

Quote a:

Not the "class is a container. fruit is a parent class and apple is a child class" kind of stuff.

Quote b:

obstacles like using one form's element in another form, chaning form property in other class

You should really study the Apple/Fruit stuff so your design does not call for Forms accessing each others elements.

我将为您推荐Grady Booch 的面向对象分析和应用程序设计的经典教程,这是一本非常好的书

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM