본문 바로가기

VB200519

memory management In the .NET environment What is the Garbage Collector? The Garbage Collector(GC) is a service that automatically reclaims unused memory. In the past, allocating and releasing object memory was the program’s responsibility. Unfortunately, many programs would allocate memory that they later failed to give back to the operating system. Even after the program ended, the memory remained allocated.. So a few Programmers some.. 2008. 6. 26.
using MyBase Hello, everyone. nice day, isn't it? This time , I'll explain how to use MyBase Class. MyBase Provides a way to refer to the base class of the current class instance. MyBase.New is used to explicitly call a base class constructor from a derived class constructor. In the derived-class constructor, the call to the base-class constructor must be the first statement. Otherwise, Visual Basic .NET wil.. 2008. 6. 25.
understand the inherited constructors of class Visual Basic .NET automatically will call the Base-class constructor method when the Derived-class constructor method starts. The following program, ThreeConstructors creates three classes named GrandParents, Parents, and Children. Class Parents inherits Class GrandParents, and Class Childern inherits Class Parents When you run the program, your screen will first display class GrandParents’const.. 2008. 6. 25.
how about using Multiple Constructors to Support Different Parameters how about using Multiple Constructors to Support Different Parameters To initialize class member variables, programmers make extensive use of constructor methods. Normally, for a simple class, the constructor method will support a parameter for each key class member variable. Consider the following Book class that provides support for the title, author, publisher, price, pagecount, and Indate: s.. 2008. 6. 24.