항암제
항암제
CC#
Created by 항암제 on 2/24/2024 in #help
Derived class , BaseClass, Dictionary
Thank you. Let me check the official letter about polymorphism
11 replies
CC#
Created by 항암제 on 2/24/2024 in #help
Derived class , BaseClass, Dictionary
Thank you for your response. I'm currently working on creating a card game as a learning project. As I contemplate how to manage the cards, I wanted to organize them within a data structure. To differentiate between the cards, I intended to assign unique ID values to each card. When I input a card's ID, I aim to retrieve its Name, Cost, and Effect from the data structure for use. I tested this, and the attached picture shows the result. My question is, within the data structure, there is a BaseClass, and when I make a call, it seems to output the method of the child class that overrides the base class method. I'm curious if this behavior is expected, and I'd like to understand how it works internally.
11 replies
CC#
Created by 항암제 on 1/30/2024 in #help
Garbage Collection Questions
Thank you. I'll make sure to read it whenever I'm bored. It was very helpful.
22 replies
CC#
Created by 항암제 on 1/30/2024 in #help
Garbage Collection Questions
Thank you for your answer. I should study more
22 replies
CC#
Created by 항암제 on 1/30/2024 in #help
Garbage Collection Questions
Thank you for your response! I understand the information you provided, but I'm curious about how the Managed Heap is initially allocated. Is there any way to find out about this?
22 replies