1325 questions for senior .NET engineer interviews, each with a 30-second answer, the full answer, a deep dive, the follow-ups interviewers ask next, and real-world production problems.
AI coding assistants such as GitHub Copilot: how they work, prompting for code, AI for code review, tests and documentation, refactoring support, limitations, hallucinations and security risks, and rolling them out to a team.
Prompting AI assistants for code: goal, context, constraints and examples, instruction files, asking for edge cases and tests first, decomposing work, and iterating on concrete failures.
Security risks of AI-generated code and AI coding tools: insecure patterns from training data, hallucinated packages and slopsquatting, licence exposure, secrets and personal data in prompts, poisoned instruction files, and the .NET controls for each.
How AI coding assistants work: next-token prediction by an LLM, the context window and what the IDE sends, completion vs chat vs agent mode vs cloud coding agent, and their strengths and limits.
Using AI assistants for code review, unit test generation and documentation: where they help, where they mislead, and how to verify AI tests (mutation testing, breaking the code), AI review comments and generated docs.
Leading an AI-tools rollout: pilot, usage and data guidelines, human review rules, training, handling different attitudes in the team, and measuring impact with delivery and quality metrics rather than acceptance rates.
Reviewing an AI-generated pull request: missing authorisation, fire-and-forget work, culture-dependent parsing, partial writes, a vulnerable pinned dependency and self-confirming tests, ranked by severity with a rewrite and review-closing policy.