Category archives: Research

  • Difference between For and Foreach Loop in C# [Note]

  • The for loop executes a statement or a block of statements repeatedly until a specified expression evaluates to false. There is need to specify the loop bounds( minimum or maximum). The foreach statement repeats a group of embedded statements for each element in an array or an object collection.[...]
  • Implementation of Dependency Injection Pattern in C#

  • Dependency Injection (DI) is a software design pattern that allow us to develop loosely coupled code. DI is a great way to reduce tight coupling between software components. DI also enables us to better manage future changes and other complexity in our software. The purpose of DI is to make code mai[...]
  • MultiThreading in C#

  • There are two distinct types of multitasking: process-based and thread-based. It is important to understand the difference between the two.  Process is what the operating system uses to facilitate the execution of a program by providing the resources required. Each process has a unique process[...]
  • Breaking Singleton questions you may get in interviews

  • Even though we avoided multiple instance creation of singleton class by using Double checked locking or Eager instance creation, instances can still be created by : – cloning – reflection – Sub-classing singleton class How to avoid Singleton instance creation by cloning ? We can create a copy o[...]
  • How creating CSS images made me a better developer

  • Throughout my life all I ever wanted to be was an artist of some kind. I wanted to be an author, a poet, a painter, a photographer, and later, a developer. To me, being a developer has always been about creativity, about the act of creating something that wasn’t there before. As a frontend developer[...]
  • What Are HTTP Status Codes, And What Do They Mean?

  • The HyperText Transfer Protocol (HTTP) defines the method by which a web browser and a web server can communicate with each other. A part of this protocol is the use of status codes. These codes are used as a way of communicating the status of the request between programs easily without the software[...]
  • 7 ways to start a Task in .NET C#

  • New threads can be started using the Task Programming Library in .NET in – at last – 5 different ways. You’ll first need to add the following using statement: [crayon-5d31d9bbbec9f245791916/] The most direct way [crayon-5d31d9bbbecb3073924896/] Using Action [crayon-5d31d9bbbecbc504880001/] [...]
  • Performance And Memory Tips for An Application

  • Performance and memory utilization play very important role for success of any application.we should be very careful for the application’s footprint and performance during development of application. I have shared some common and important rules that will be very useful for developer. Don't [...]
 

Enjoy this blog? Please spread the word :)