Tài liệu Advanced OOP Concepts in C#

Thảo luận trong 'Lập Trình' bắt đầu bởi Thúy Viết Bài, 5/12/13.

  1. Thúy Viết Bài

    Thành viên vàng

    Bài viết:
    198,891
    Được thích:
    167
    Điểm thành tích:
    0
    Xu:
    0Xu
    Review
    -Parameterised constructors are constructors that take in parameters.
    -Constructors can be differentiated during run-time based on the number of arguments or the type of the arguments passed.
    -In C#, the destructor is called by Garbage Collector.
    -Methods can be overloaded in C# in any of the two ways.
    +By specifying different number of parameters
    +By specifying different type of parameters
    -C# allows us to overload operators.
    -Overloading an operator means making an operator (for example, the addition operator, +) behave differently when applied on certain object of classes or structs.
     

    Các file đính kèm:

Đang tải...