C# Beginner to advanced - Lesson 45 - Nested classes

مجله خبری، آموزشی پرشین تک
منتشر شده در 11 خرداد 1397

Nested Classes :

A Nested class is defined within the code block of Another class.

It can be instantiated separately to its parent class.

It is not instantiated automatically by its parent.

Nested class will not have access to the members of the nesting class.


public class Outside

{

public class Inside

{

}

}


ankpro

ankpro training

Asp.net MVC

C#

C sharp

Bangalore

Rajajinagar

Selenium

Coded UI

Mobile automation testing

Mobile testing

JQuery

JavaScript

.Net

Components of the .Net framework

Hello World

Literal

Keywords

Variable

Data types

Operators

Branching

Loops

Arrays

ArrayList

Strings

String Builder

Structures

Enums

Functions

Classes

Inheritance

Polymorphism

Properties

Indexers

Events

Nested Classes

Delegates

Anonymous methods

Labda expressions

Abstract classes

Exception Handling

Linq

Interfaces

Extension methods

Anonymous types

Generics

Collections

Garbage Collection

Reflection

Attributes

Input and output statements

Type casting

Partial Methods

Partial Classes

Boxing and Unboxing

Var vs Dynamic vs Object

دیدگاه کاربران