Click here to Skip to main content
15,868,141 members

Articles by Ehsan Sajjad (Articles: 22, Technical Blogs: 2, Tip/Trick: 1)

Articles: 22, Technical Blogs: 2, Tip/Trick: 1

RSS Feed

Average article rating: 4.47

Programming Languages
C#
29 Feb 2016   Updated: 21 Dec 2016   Rating: 3.69/5    Votes: 12   Popularity: 3.98
Licence: CPOL    Views: 30,916     Bookmarked: 10   Downloaded: 0
Please Sign up or sign in to vote.
In this post, we will see the shadowing concept with respect to C# with a simple example.
22 Jan 2017   Updated: 10 Jul 2017   Rating: 4.33/5    Votes: 13   Popularity: 4.82
Licence: CPOL    Views: 28,753     Bookmarked: 21   Downloaded: 0
Please Sign up or sign in to vote.
In this article, you will learn about Equality Operator (==) behavior for non-primitive value types.
4 May 2017   Updated: 21 Jun 2018   Rating: 4.87/5    Votes: 32   Popularity: 7.12
Licence: CPOL    Views: 31,822     Bookmarked: 26   Downloaded: 0
Please Sign up or sign in to vote.
This post focuses on the problems that one might face when using == operator with generics or inheritance and which can cause unexpected results.
8 Jul 2016   Updated: 21 Aug 2017   Rating: 5.00/5    Votes: 18   Popularity: 6.15
Licence: CPOL    Views: 24,672     Bookmarked: 18   Downloaded: 0
Please Sign up or sign in to vote.
This article is the continuation of the previous three articles regarding how Equality works in .NET, the purpose is to give developers a more clear understanding on how .NET handles equality for types.
5 Sep 2016   Updated: 21 Aug 2017   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: CPOL    Views: 18,622     Bookmarked: 14   Downloaded: 0
Please Sign up or sign in to vote.
This article is in the continuation of a series of articles regarding how Equality works in .NET and it is specific to how Equality operator works for reference types.
19 Jun 2016   Updated: 25 Mar 2018   Rating: 4.87/5    Votes: 53   Popularity: 8.22
Licence: CPOL    Views: 68,816     Bookmarked: 95   Downloaded: 0
Please Sign up or sign in to vote.
The purpose of this post is to outline and explore some of the issues that make performing the equality much more complex than you might expect.
2 Jul 2016   Updated: 25 Mar 2018   Rating: 4.94/5    Votes: 21   Popularity: 6.42
Licence: CPOL    Views: 24,365     Bookmarked: 17   Downloaded: 0
Please Sign up or sign in to vote.
In this post, we will see how smartly .NET handles equality and comparison for value types and reference types.
4 Jul 2016   Updated: 25 Mar 2018   Rating: 4.96/5    Votes: 17   Popularity: 5.83
Licence: CPOL    Views: 23,232     Bookmarked: 14   Downloaded: 0
Please Sign up or sign in to vote.
In this article, you will learn about IEquatable interface in .NET and how it solves some of the equality problems for value types.
2 Oct 2016   Updated: 25 Mar 2018   Rating: 4.80/5    Votes: 17   Popularity: 5.78
Licence: CPOL    Views: 36,296     Bookmarked: 18   Downloaded: 0
Please Sign up or sign in to vote.
This article explains how Equals method and == operator behave differently for String class
C# 4.0
9 Oct 2015   Updated: 22 May 2016   Rating: 4.96/5    Votes: 14   Popularity: 5.69
Licence: CPOL    Views: 97,187     Bookmarked: 36   Downloaded: 3,775
Please Sign up or sign in to vote.
Repository pattern implementation in ADO.NET using Generics
PowerShell
6 Dec 2017   Updated: 8 Jan 2018   Rating: 3.00/5    Votes: 3   Popularity: 1.43
Licence: CPOL    Views: 16,211     Bookmarked: 8   Downloaded: 0
Please Sign up or sign in to vote.
This is a step by step guide for beginner on how to install .NET Core 2.0 and create a Console Application without any IDE using Command Prompt/PowerShell
XML
2 Aug 2017   Updated: 21 Jun 2018   Rating: 3.76/5    Votes: 11   Popularity: 3.91
Licence: CPOL    Views: 15,364     Bookmarked: 11   Downloaded: 136
Please Sign up or sign in to vote.
This post is a guide for beginners on how to implement Equality for a Value Type and why you should implement it.
24 Mar 2018   Updated: 24 Mar 2018   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: CPOL    Views: 15,465     Bookmarked: 3   Downloaded: 58
Please Sign up or sign in to vote.
This post outlines why we would implement Equality for a Reference Type and how we can do that.
Web Development
ASP.NET
6 Jan 2016   Updated: 19 Feb 2019   Rating: 3.71/5    Votes: 6   Popularity: 2.89
Licence: CPOL    Views: 20,312     Bookmarked: 7   Downloaded: 0
Please Sign up or sign in to vote.
Registering Custom Directories for Views in ASP.NET MVC
27 Oct 2015   Updated: 27 Oct 2015   Rating: 4.87/5    Votes: 24   Popularity: 6.44
Licence: CPOL    Views: 145,815     Bookmarked: 20   Downloaded: 0
Please Sign up or sign in to vote.
How to map ViewModel to Model or vice versa using implicit operator in C#
15 Nov 2015   Updated: 23 Apr 2016   Rating: 4.75/5    Votes: 13   Popularity: 5.13
Licence: CPOL    Views: 72,033     Bookmarked: 19   Downloaded: 0
Please Sign up or sign in to vote.
Better approach to bind dropdownlist with enum in MVC
HTML
24 Oct 2015   Updated: 24 Oct 2015   Rating: 3.50/5    Votes: 3   Popularity: 1.67
Licence: CPOL    Views: 20,950     Bookmarked: 5   Downloaded: 309
Please Sign up or sign in to vote.
Writing Custom Validation Message Helper extension in ASP.NET MVC
9 Nov 2015   Updated: 20 Nov 2016   Rating: 4.95/5    Votes: 14   Popularity: 5.34
Licence: CPOL    Views: 51,614     Bookmarked: 29   Downloaded: 1,508
Please Sign up or sign in to vote.
File Uploading in asp.net mvc without reloading complete page using IFrame
23 Jul 2016   Updated: 14 Jun 2017   Rating: 4.67/5    Votes: 34   Popularity: 6.96
Licence: CPOL    Views: 191,811     Bookmarked: 78   Downloaded: 2,621
Please Sign up or sign in to vote.
A guide on how to implement gridview in ASP.NET MVC 5
13 Jun 2017   Updated: 31 Jan 2018   Rating: 3.00/5    Votes: 8   Popularity: 2.71
Licence: CPOL    Views: 48,047     Bookmarked: 18   Downloaded: 3,834
Please Sign up or sign in to vote.
In this post, I will be addressing this problem and we will learn that how can implement CRUD using JQuery DataTables in one page without any full page reloads.
10 Feb 2017   Updated: 31 Jan 2018   Rating: 4.92/5    Votes: 13   Popularity: 5.31
Licence: CPOL    Views: 57,567     Bookmarked: 44   Downloaded: 2,907
Please Sign up or sign in to vote.
This article demonstrates how to implement advanced search on a gird using JQuery DataTables in asp.net mvc 5
13 Aug 2016   Updated: 31 Jan 2018   Rating: 4.83/5    Votes: 65   Popularity: 8.70
Licence: CPOL    Views: 154,539     Bookmarked: 121   Downloaded: 7,631
Please Sign up or sign in to vote.
Beginner's guide to implement server side pagination, sorting and filtering of gridview using jquery datatables

Average blogs rating: 4.29

Programming Languages
C#
7 Oct 2015   Updated: 12 Nov 2015   Rating: 3.83/5    Votes: 19   Popularity: 4.81
Licence: CPOL    Views: 68,696     Bookmarked: 17   Downloaded: 0
Please Sign up or sign in to vote.
Misconceptions regarding pass by value and pass by reference in C#
Web Development
HTML
12 Nov 2015   Updated: 12 Nov 2015   Rating: 4.75/5    Votes: 6   Popularity: 3.70
Licence: CPOL    Views: 31,881     Bookmarked: 14   Downloaded: 0
Please Sign up or sign in to vote.
Image ActionLink HTML helper in ASP.NET MVC

Average tips rating: 4.34

Programming Languages
C#
28 Apr 2016   Updated: 3 May 2016   Rating: 4.34/5    Votes: 28   Popularity: 6.14
Licence: CPOL    Views: 61,849     Bookmarked: 13   Downloaded: 0
Please Sign up or sign in to vote.
This is about how to get the first N digits of a number without converting it to string

Average reference rating:

No reference articles have been posted.

Average project rating:

No projects have been posted.
Software Developer
Pakistan Pakistan
Ehsan Sajjad is a Microsoft Certified Professional, Microsoft Certified C# Specialist and he is also among the top users on StackOverflow from Pakistan with 50k+ reputation at time of writing this and counting.

He is a passionate software developer with around 5 years of professional experience in Microsoft Technologies both web and desktop applications and always open to learn new things and platforms especially in mobile application development and game development.

Some Achievements :

  • 5th Top Contributor from Pakistan on Stackoverflow.com
  • Top User in ASP.NET MVC from Pakistan on Stackoverflow.com
  • 21st June 2017 - Article of the Day - ASP.NET Community (Beginners Guide on AJAX CRUD Operations in Grid using JQuery DataTables in ASP.NET MVC 5)
  • 19th April 2017 - Article of the Day - ASP.NET Community (ASP.NET MVC Async File Uploading using JQuery)
  • March 2017 - Visual C# Technical Guru Silver Medal on Microsoft Tech Net Wiki Article Competition
  • 20 January 2017 - Article of the Day - ASP.NET Community (Async File Uploading in ASP.NET MVC)
  • 22nd September 2016 - Article of the Day - ASP.NET Community (GridView with Server Side Filtering, Sorting and Paging in ASP.NET MVC 5)
  • 22nd August 2016 - Article of the Day - ASP.NET Community (Beginners Guide for Creating GridView in ASP.NET MVC 5)
  • December 2015 - C-SharpCorner Monthly Winner