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.
© 2018 - First Crazy Developer (Abhishek Kumar)

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

crazydeveloper Bubble Sort - Sorting Algorithm

Bubble Sorting

In application development there are lot of scenario comes when we need to sorting our listed or arrays data. Provided list or array can be n number size. So when we write a code to sorting that data, we should consider the most efficient way to do that, because that process impact on your application performance base on time & space complexity. So for that you'll need a sorting algorithm. To understand the more complex and efficient sorting algorithms, it's important to first understand the simpler, but slower algorithms.

Bubble Sort is the simplest sorting algorithm that works by repeatedly swapping the adjacent elements if they are in wrong order.

Read more »
26 June 2015

crazydeveloper Magic of Sql Server with Update query

Magic of SQL Server

Today we will talk about magic of Sql Server. There is a scenario, we need to swap value between two columns, what will be sql query for that?

Look the following sql query and you will surprised that there is a simple way to do that in Sql without using third variable.

update tablename

set firstName=lastName,lastName=firstName

Tell me above sql query will be execute or we will get error.

Read more »
24 June 2015

Page 5 of 10

Become a Fan