본문 바로가기

VB.NET16

How to use Directory Class to make a new directory How to use Directory Class to make a new directory Public NotInheritable Class Directory Inherits System.IO The Directory class is a static class, which means you do not have to create an instance of a Directory class object in order to use the class methods. You just use the class. The following program, I used to directory class Exists method to determine if the specified directory exists. If .. 2008. 6. 30.
how to use overrides Keyword This time, I'll show how to use override keyword. Generally, to override a base-class function or subroutine, a derived class must place the Overrides keyword within the method definition to tell the Visual Basic .NET compiler that its goal is to replace the base-class method implementation with its own, as shown here Public Overrides Function ToString() As String ToString = Name End Function so.. 2008. 6. 26.
A destructor method in a class A destructor method in a class Within a class, a destructor method lets the class perform “cleanup” processing before the garbage collector(GC) releases the memory that holds an object. I explained GC through last lecture. Let’s refer to last lecture http://fromyou.tistory.com/entry/memory-management-In-the-NET-environment Well, To specify the processing you want a program to perform before an o.. 2008. 6. 26.
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.