DotNet By Ajay — New: ES2025 cheat-sheet is live!

July 10, 2026

C# Interview Question: Does the order of members inside a C# class matter?

Does the order of members inside a C# class matter?

Short Answer: No. The order of constructors, properties, methods, and fields inside a C# class does not affect compilation or runtime behavior. The C# compiler processes the entire class definition before generating Intermediate Language (IL).

July 1, 2026

Entity Framework : Database First Approach vs Code First

There are 3 approaches through which Entity framework is implemented.

  • Database First Approach
  • Code First Approach
  • Model First Approach

May 31, 2026

LeetCode 185: Department Top Three Salaries | SQL DENSE_RANK Solution Explained with Example

August 6, 2025

🤖 What is AI?

A Simple Guide to Artificial Intelligence

We keep hearing about AI everywhere these days — from news headlines to our mobile apps. But what exactly is it?