C# Beginner to advanced - Lesson 38 - Reflection

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

Reflection:


Reflection is the ability of inspecting an assemblies metadata at runtime.

The classes that give access to the metadata of a running program are in the System.Reflection namespace.

The System.Reflection namespace contains classes that allow you to obtain information about the application and to dynamically add types, values, and objects to the application.


Applications of Reflection :

Reflection has the following applications:

It allows view attribute information at runtime.

It allows examining various types in an assembly and instantiate these types.

It allows late binding to methods and properties

It allows creating new types at runtime and then performs some tasks using those types.


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

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