Basic information about C#

Basic information about C#

Share

17/12/2020

System.Windows.Forms.Integration Namespace

Contains classes that support interoperation of Windows Forms and WPF controlsIn this article

Classes
Delegates
Remarks

Classes

CLASSESChildChangedEventArgs

Provides data for the ChildChanged and ChildChanged events.

Photos from Basic information about C#'s post 18/10/2020

A lambda expression is a convenient way of defining an anonymous (unnamed) function that can be passed around as a variable or as a parameter to a method call. ManyLINQ methods take a function (called a delegate) as a parameter.

23/08/2020

Difference between Indexers and Properties



Indexers :-
1) Indexers are created with this keyword.

Properties :-
1) Properties don't require this keyword.

Indexer :-
2)Indexers are identified by signature.

Properties :-
2) Properties are identified by their names.

Indexer :-
3) Indexers are accessed using indexes.

Properties :-
3) Properties are accessed by their names.

Indexer :-
4) Indexer are instance member, so can't be static.

Properties :-
4) Properties can be static as well as instance members.

Indexer :-
5) A get accessor of an indexer has the same formal parameter list as the indexer.

Properties :-
5) A get accessor of a property has no parameters.

Indexer :-
6) A set accessor of an indexer has the same formal parameter list as the indexer, in addition to the value parameter.

Properties :-
6) A set accessor of a property contains the implicit value parameter.

23/08/2020

Generic is a class which allows the user to define classes and methods with the placeholder. Generics were added to version 2.0 of the C . The basic idea behind usingGeneric is to allow type (Integer, String, … etc and user-defined types) to be a parameter to methods, classes, and interfaces.

Generics allow you to define the specification of the data type of programming elements in a class or a method, until it is actually used in the program. In other words, generics allow you to write a class or method that can work with any data type.

Want your business to be the top-listed Computer & Electronics Service in Kanpur?
Click here to claim your Sponsored Listing.

Website

Address

JAJMAU
Kanpur
208010

Opening Hours

Monday 9am - 5pm
Tuesday 4am - 5pm
Wednesday 4am - 5pm
Thursday 4am - 5pm
Friday 9am - 7am