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 How to Find and Replace Values in All Tables and All Text Columns in SQL Server

Problem 1:

We have a tables (SQL Server) which references paths (with specific name/ value), but now the path is going to change. In the path column, we have many records and we need to change just a portion (name/ value) of the path, but not the entire path. And we need to change the same string to the new one, in every record.

How can we do this with a simple update?

Problem 2:

We have read about a SQL injection attack where text is inserted and this could be a good way to remove the offending text.

Read more »
08 August 2015

crazydeveloper Stack & Heap - Behind the scene in .Net Framework

One of the most essential parts of coding in the .NET Framework is "Variable Declaration".  In order to understand the importance of this term, we’ll need to explore a few other terms which are fundamental to .NET, and to some extent, programming in general.  So, in the next few articles, we’ll be discussing:

"Stack & Heap", "Value types & Reference types" and "Boxing & Unboxing".

The three terms above are related to each other.  If we’re planning on talking about Variable Declaration, at the very least we need to know the core concepts of those terms.  They all point to a couple of important questions:  “What goes into a variable once we declare it?” and “What happens to that variable when we’re done with it?”

Read more »
05 August 2015

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

Page 5 of 10

Become a Fan