DotNet FrameWork – What is Manifest,Metadata,Delegates,Virtual Keyword,class access modifiers – Day 16 of 30

What is manifest?

It is the metadata that describes the assemblies.

What is metadata?

Metadata is machine-readable information about a resource, or “”data about data.”” Such information might include details on content, format, size, or other characteristics of a data

source. In .NET, metadata includes type definitions, version information, external assembly references, and other standardized information.

What are delegates?where are they used ?

A delegate defines a reference type that can be used to encapsulate a method with a specific signature. A delegate instance encapsulates a static or an instance method. Delegates are roughly similar to function pointers in C++; however, delegates are type-safe and secure.

When do you use virutal keyword?

When we need to override a method of the base class in the sub class, then we give the virtual keyword in the base class method. This makes the method in the base class to be overridable. Methods, properties, and indexers can be virtual, which means that their implementation can be overridden in derived classes.

What are class access modifiers ?

Access modifiers are keywords used to specify the declared accessibility of a member or a type. This section introduces the four access modifiers:

· Public  – Access is not restricted.

· Protected  – Access is limited to the containing class or types derived from the containing class.

· Internal – Access is limited to the current assembly.

· Protected inertnal – Access is limited to the current assembly or types derived · from the containing class.

· Private – Access is limited to the containing type.

Please read all the post in the Dotnet Framework series.

Reference : Dilip Kumar Jena ( https://mstechexplore.wordpress.com )

Advertisements

One thought on “DotNet FrameWork – What is Manifest,Metadata,Delegates,Virtual Keyword,class access modifiers – Day 16 of 30

  1. Pingback: DotNet FrameWork – Dot Net Basics Complete Series Reference – Day 0 of 30 « Exploring Dot Net with Dilip Kumar Jena

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s