C# tips and tricks
Home
Home
Archives for May 2019
C# ? Operators
06:10
/
Muhammad Sohail
/
A statement using the conditional operator such as this 1 int ? age = p == null ? null : p.Age; …can be simplified: ...
Newer Posts
Older Posts
Home
Popular Posts
Anatomy of the Lambda Expression
Anatomy of the Lambda Expression C# 3.0(.NET 3.5) introduced the lambda expression along with LINQ. The lambda expression is a shorter w...
Expression in LINQ
Expression in LINQ We have learned that the lambda Expression can be assigned to the Func or Action type delegates to process over in-...
Generics in C#
Generics Overview Use generic types to maximize code reuse, type safety, and performance. The most common use of generics is t...
Reflection in .NET
Reflection objects are used for obtaining type information at runtime. The classes that give access to the metadata of a running program ...
Events and Delegates Part 2
C# - Delegate A function can have one or more parameters of different data types, but what if you want to pass a function itself as a pa...
Optional Parameters in C#
Optional Parameters If you’re of the same mind, then you’ll probably be pleased that C# 4.0 supports optional parameters. For many C...
Unsafe code and Pointers in .NET
C# allows using pointer variables in a function of code block when it is marked by the unsafe modifier. The unsafe code or the unmanag...
.Net Custom Attributes
An attribute is a declarative tag that is used to convey information to runtime about the behaviors of various elements like classes, me...
C# - Action Delegate
C# - Action Delegate Action is also a delegate type defined in the System namespace. An Action type delegate is the same as Func delega...
Named Parameters in C#.NET
Named Parameters One of the primary purposes of named parameters is that they resolve ambiguity between parameters. For example, the fol...
Blogger templates
Blogroll
About
About Me
Muhammad Sohail
View my complete profile
Blog Archive
▼
2019
(13)
▼
May
(1)
C# ? Operators
►
January
(12)
►
2015
(1)
►
August
(1)
►
2013
(12)
►
November
(12)
Powered by
Blogger
.
You must enable JavaScript to view this page!