Mục lục

  • Table of Contents

  • Introduction

    • Overview of C# 4.0 How-To

    • How-To Benefit from This Book

    • How-To Continue Expanding Your Knowledge

    • Part I: C# Fundamentals

      • 1 Type Fundamentals

        • Create a Class

        • Define Fields, Properties, and Methods

        • Define Static Members

        • Add a Constructor

        • Initialize Properties at Construction

        • Use const and readonly

        • Reuse Code in Multiple Constructors

        • Derive from a Class

        • Call a Base Class Constructor

        • Override a Base Class’s Method or Property

        • Create an Interface

        • Implement Interfaces

        • Create a Struct

        • Create an Anonymous Type

        • Prevent Instantiation with an Abstract Base Class

        • Interface or Abstract Base Class?

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan