Category: Development

  • Dependency Injection and Interfaces with C#

    This is more of a beginners guide in understanding Dependency Injection (DI) with mainly C# and using very basics of Asp.net Web API project. In summary it is the difference between a class creating its own dependencies vs those dependencies are injected into the class from an external source. Interfaces are also a core concept…

  • How negative numbers are stored in computers

    Computers stores everything in Base 2 or binary format than Base 10 like what humans usually count with. This article is to brief how computer stores negatives numbers generally and the most prevalent approach of two’s complement. Understanding this will explain why a SByte in C# is -128 to +127. Overall we need a method…

  • How does git stores data

    Git developed by Linus Torvalds is the most widely used source control system. It empowers developers by managing different versions of source files and it provides lot of features to aid in development. Stash may be my favorite feature of all. Below summarizes how git stores data. The .git hidden folder Once we initialize git…

  • What are class and objects in Object-oriented Programming

    Mainly there are two types of programming paradigms one being Functional and other is Object-Oriented (OOP). As the names suggests Functional approach emphasizes on pure functions (no state changes and shared data). OOP programming uses classes and objects to model the problem domain. Lets explain the differences through a small application. Requirement is to create…

Categories