Podreju
How does Generic<T>.Clear work
I'm comparing C and C++, where memory allocation and deallocation are managed manually, with C#, where this task is handled by the Garbage Collector (GC). It seems to me that this approach is not very flexible. Or am I wrong?
31 replies
How does Generic<T>.Clear work
You're right, and I apologize for the typo in the word "Generic." My question is about how the
Are the data cleared from memory immediately after the
I understand that memory deallocation is handled by the garbage collector (GC), but is it possible to influence its work in some way without disrupting its functioning?
Clear
method works in List<T>
, Queue<T>
, and so on.Are the data cleared from memory immediately after the
Clear
method is executed? Can this process be controlled?I understand that memory deallocation is handled by the garbage collector (GC), but is it possible to influence its work in some way without disrupting its functioning?
31 replies
C# WPF: Creating 2D Graphics
Absolutely, I am interested in a robust product. However, given AutoCAD itself, its capabilities, and functionality, my application would require only about 20-30% of its features, as there is no urgent need for more extensive functionality. The primary focus is on cadastral applications.
It's worth noting that the main tasks will involve geometry manipulation, constructing complex shapes with numerous geodetic points. Additionally, there is a need for the ability to translate "drawings" into required coordinate systems (which I am proficient at) and other related tasks.
Considering my interest in a high-quality product with good optimization, I turned to the community's experience for guidance.
42 replies