User Name:


User Email:




This information will only be saved for the purposes of communicating with those who have provided this information voluntarily regarding our services.We will never sell your name or email address to anyone.
© 2017 - First Crazy Developer (Abhishek Kumar)
  

crazydeveloper What is the use of Shadowing in C#

The concept of Shadowing is not a part of object oriented programming principle but this keyword is so important with classes & objects in C#. We must know the behaviour of Shadowing in C#.


In Shadowing the parent class element is completely replace by the child class in all terms. But here again the important question: What is the use of Shadowing?

Read more »
31 July 2015

crazydeveloper What is the use of "Covariance & Contravariance" in .Net Framework 4.0

Hello, and first of all a big thanks to all of you who provided comments and feedback on my previous post.  It encouraged me to work on this one!

 

I’d like to discuss a couple of integral concepts in C# 4.0, "Covariance and Contravariance". In order to understand the importance of these concepts and why they exist, we'll need to hop into our time machine and take a look at some code from .NET 3.5.

Read more »
22 July 2015

crazydeveloper What is the use of "checked" & "unchecked" keyword in C#

Importance of "checked" & "unchecked" keyword in C# :- 

Today we will discuss the use of "checked" and "unchecked" keywords and try to understand the importance of these keywords in C#.

We will start with some scenario then come to the point. Tell me what is the maximum value of int in C#?

  1. Console.WriteLine(int.MaxValue); // 2147483647

When we will execute the above code, we will get the maximum value of int in c#. The answer of maximum value of int in C# is "2147483647".

What happen when we try to store more than maximum value into int type variable?

Read more »
16 July 2015

crazydeveloper New features in C# 6 That we should know Part-1

Some days before I installed Visual Studio 2015 in my system. It introduces a completely new version of ASP.Net with include C# 6 language. In previous version they introduced lots of new concept like async and await in version 5, dynamic in version 4, LINQ in version 3 and so on. Now when we talk about C# 6, there are no any major feature changes came with this version, but there are a lots of syntactical improvements which will help you for better coding styles.

1. Primary Constructor &  Auto Implemented Properties Initializers

2. Expression Bodied members (Functions and Properties)

3. Getter-only auto-properties:

Read more »
10 July 2015

crazydeveloper What is the use of "Yield" keyword in C#

Today we will  try to understand "What  exactly is the use of "Yield" keyword and what scenario we should use that?

"Yield" keywords helps to do custom stateful iteration over a collection. The main purpose of "Yield" keyword is Custom iteration & Stateful iteration.

Read more »
04 July 2015

crazydeveloper SweetAlert With AngularJS

Today we will discuss that how we can use the SweetAlert message in AngularJS. There are some pre-request files need to use this functionality.

We can downlaod & install thses file with multiple way :

1. Download these file

2. Install through bower: $ bower install sweetalert

3. Install through NPM: $ npm install sweetalert

Read more »
03 July 2015

crazydeveloper Implemention of access modifier in JavaScript

When we talk about Object Oriented Programming language, we found some strongly type object avialable  in C#, C++ and Java.

When we talk these language there are lots of access specifier we used to defined scope of method and properties. Today we will discuss that how can we implement these concept in JavaScript, when we talk OOPs in JavaScript?

Read more »
02 July 2015

crazydeveloper Prototype in JavaScript - Behind the Scenes

In previous post we learnt First step of Object Oriented JavaScript and today we will do some deep diving in that object so we can know how these process run in background when we create object in JavaScript.

 

What we do today just again reshape the object creation  in depth and discussed advanced topics like using the Object in JavaScript with custom objects, inheritance in JavaScript and most popular word for interviewer prototypes in JavaScript.

Read more »
01 July 2015

crazydeveloper Insertion Sort - Sorting Algorithms

Insertion Sort

In previous post in data structure we discussed about Bubble Sort and today we will discuss about Insertion Sort. After Bubble Sort, It is a simple Sorting algorithm which sorts the array by shifting elements one by one. Insertion Sort is a simple sorting algorithm that works the way we sort playing cards in our hands.

But in our card example, the new card could be smaller than some of the cards you're already holding, and so you go down the line, comparing the new card against each card in your hand, until you find the place to put it. You insert the new card in the right place, and once again, your hand holds fully sorted cards. Then the dealer gives you another card, and you repeat the same procedure. Then another card, and another card, and so on, until the dealer stops giving you cards.


Read more »
30 June 2015

crazydeveloper Can an abstract class have a constructor?

Can an abstract class have a constructor?

Hi guys, today we will discuss some unclear concept of abstract class. Tell me one thing that, can an abstract class have a constructor? If your answer is yes then what is the use?

Most of times we heard what is an abstract class, use of an abstract class and difference between abstract class and interface? Today we will move forward and discuss a new topic, constructor in an abstract class and their use.

First I give you answer what I asked, yes an abstract class can have a constructor. Confused?

Read more »
27 June 2015

Page 5 of 10

Become a Fan