Online Mind Mapping and Brainstorming

Create your own awesome maps

Online Mind Mapping and Brainstorming

Even on the go

with our free apps for iPhone, iPad and Android

Get Started

Already have an account? Log In

OOP i C# by Mind Map: OOP i C#
0.0 stars - 0 reviews range from 0 to 5

OOP i C#

Klasser

[Accessor] class ClassName { // class contents }

Public

Private

Protected

Internal

Protected internal

constructor

special method that runs when the class is instantiated

Har samme navn som klassen

Overloading

Properties

control the characteristics of a class,

expose to users of the class some internal values

public int ProductID { get{ return _ProductID; } set{ _productID = value; } }

abstraction.

Syntaks

Methods

[Accessor] DataType FunctionName([parameters]) { return value }

override

Shared class members

Static memebers

A class instance is not required,

[Accessor] static returntype Name()

Inheritance

partial class NewClass:DerivedClass

virtual method

Member Access

protected member

Scope and lifetime

Variabler lever innen den kode blokken den er definert

Generics

let you tailor a method, class, structure, or interface to the precise data type it acts upon

List<Custom Class> name