Professional Documents
Culture Documents
Pengenalan OOP
Pengenalan OOP
Pengenalan OOP
Examples of other
fields: name, gender,
hair colour, etc.
C#
• Pros:
– Easy to use.
– Self maintain Memory allocator management (Garbage Collector).
– No need to Allocate/Deallocate class or memory manually (eliminate
newcomer programmer headache from memory leaks when use C/C++).
– Development time is shorter than C++ (2-4X faster).
• Cons:
– Using Virtual Machine / JIT (similar to Java).
– Runtime not faster than native machine code apps (C++).
– Garbage Collector (GC) can cause hiccup in realtime/game apps.
– Executable can be decompiled. Your private code is not safe!
Decompiled EXE with ILSpy
Versi 5.1:
https://sourceforge.net/projects/sharpdevelop/
Pros: Lightweight, Compatible with Visual
Studio Solution/Project.