c#
-
C# polymorphism (2/4) - OverrideC# 2019. 6. 6. 21:06
What is Override? While Overloading is which additionally defining several methods with same name, Overriding is re-defining method of classes that are in relation of inherit. Method of parent class is inherited to child class so that it can be used in child class. In other words, reusing already defined method. At this time, Overriding is not just reusing but re-defining method so that it can c..
-
Stack , HeapC# 2019. 6. 1. 17:36
What is "Stack" -A Memory space to run a program, memory which is needed when calling method is saved here. Stack Frame -A memory for calling method is mandatory in stack. A bundle of memory that are needed for a method is called "Stack Frame". -In other words, each method demands each Stack Frame which is consisted of local value, parameter, return value. Method Call and Stack Memory -When you ..