OOP & concepts
Object-oriented programming in C#, framework comparisons, interview preparation and the security basics every .NET developer is asked about.
- 100 interview questions on ASP.NET, C#, SQL Server and OOP, with short answers
One hundred questions that come up in .NET developer interviews, grouped by topic, each with a short, accurate answer: OOP, C# language, ASP.NET Web Forms and MVC, ADO.NET, SQL Server, web basics and security.
- Java vs .NET: how the two platforms compare
A factual comparison of the Java platform and .NET: runtimes and bytecode, languages, open-source status and governance, cross-platform support, web frameworks, tooling, and what usually decides the choice for a team.
- OOP concepts in C# with examples: classes, encapsulation, inheritance, polymorphism and abstraction
Object-oriented programming explained with one running C# example: classes and objects, encapsulation with properties, inheritance and constructors, virtual and override, abstract classes and interfaces, plus composition and the mistakes interviewers ask about.
- SQL injection: what it is and how to prevent it in ASP.NET and SQL Server
How SQL injection works, a vulnerable ADO.NET login query and how it is exploited, and the defences that actually work in C# and SQL Server: parameterised commands, safe stored procedures and sp_executesql, allow-lists for identifiers and least privilege.
- string vs StringBuilder in C#: when to use which
Why C# strings are immutable, what repeated concatenation costs, how StringBuilder avoids it, when plain concatenation or string.Join is just as good, capacity, and examples from ASP.NET such as building HTML and CSV.