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
Generics in C#
Generics Overview Use generic types to maximize code reuse, type safety, and performance. The most common use of generics is t...
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-...
Expression Tree
Expression Tree You have learned about the Expression in the previous section. Now, let's learn about the Expresion tree here. E...
C# ? Operators
A statement using the conditional operator such as this 1 int ? age = p == null ? null : p.Age; …can be simplified: ...
C# - Func
C# - Func We have learned in the previous section, that a delegates can be defined as shown below. Example: C# Delegate public d...
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 ...
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...
C# - Anonymous Method
C# - Anonymous Method As the name suggests, an anonymous method is a method without a name. Anonymous methods in C# can be defined using...
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...
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!