C# Beginner to advanced - Lesson 36 - Access Modifiers Part 2 (Internal and Protected Internal)

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

Internal and Protected Internal


Internal :

A member with internal access modifier is available any where with in the containing assembly.

We will get a compile time error if we try to access, an internal member from outside the containing assembly.


Protected Internal :

A member with protected internal modifier can be accessed by any code in the assembly in which it is declared, or from within a derived class in another assembly.

It is a combination of protected and internal.


In .Net world if we compile a project, an assembly is generated.

In .Net assemblies are of two types :

Executable File.

DLL (Dynamic Link Library)

Usually Console , Windows applications generate .exe files.

Web applications generate DLL .

Assembly contains Intermediate language of Project source code.


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

Boxing and Unboxing

Var vs Dynamic vs Object

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