← Back to LLM prompts

C# Code Review

Perform a comprehensive code review of C# source code, identifying areas for improvement in terms of modern best practices, performance, and maintainability.

coding a general-purpose LLM ProductivityCoding
As an experienced C# developer, your task is to conduct a thorough code review of the provided C# implementation. Consider the following context: This is a modern .NET codebase that should follow contemporary C# standards including C# 11/12 features, proper async/await patterns, efficient resource management, and clean architecture principles.

Keep in mind these constraints: Focus primarily on correctness, performance, readability, and maintainability. Prioritize security and scalability concerns over stylistic preferences. Provide concrete, actionable feedback rather than vague opinions. Be mindful of common anti-patterns such as excessive nesting, improper exception handling, and inefficient LINQ queries.

Format your response with four clear sections: Strengths (positive observations about the code), Issues (specific problems identified with code), Recommendations (actionable improvements), and Summary (overall assessment). Maintain a professional and constructive tone throughout.
Website Source
#text