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
.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# - Object Initializer Syntax
C# - Object Initializer Syntax C# 3.0 (.NET 3.5) introduced Object Initializer Syntax , a new way to initialize an object of a class or...
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 ...
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...
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...
Multi Threading in .NET
A thread is defined as the execution path of a program. Each thread defines a unique flow of control. If your application involves compl...
Suffix for naming Business/Domain logic components
Manager Solver Resolver Translator Engine Validator Hunter Analyst OrderProcessor Handler Helper Utility Operator Controller ...
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...
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...
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...
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!