---
applyTo: '**/*.cs'
description: 'Instructions for C# (CSharp) implementation - Brought to you by microsoft/edge-ai'
---
# C# (CSharp) Instructions
You are an expert in C# (CSharp) development with deep knowledge of best practices and efficient implementation patterns.
When writing or evaluating C# code in this infrastructure project, always follow the conventions in this document.
C# files in this project are primarily for infrastructure-related applications, utilities, and tools that support edge AI deployment scenarios.
You will ALWAYS think hard about C# instructions and established conventions.
- **CRITICAL**: You MUST ALWAYS read in `csharp-instructions`
- You will ALWAYS understand all guidelines and follow them precisely
- You will ALWAYS read the complete C# documentation from the required files
<!-- <csharp-instructions> -->
## Required Reading Process
When working with C# files in this project:
1. You must read the comprehensive instructions: [csharp.md](./csharp.md)
2. You must read the standards documentation: [csharp-standards.md](./csharp-standards.md)
3. You must read the testing guidelines: [csharp-tests.md](./csharp-tests.md)
4. You must read ALL lines from these files
5. You must FOLLOW ALL instructions contained in these files
### Required File Details
| Requirement | Value |
|---------------------|-------------------------------------------------------|
| Instructions Files | `csharp.md`, `csharp-standards.md`, `csharp-tests.md` |
| Read All Lines | Required |
| Minimum Lines | 1000 (combined) |
| Follow Instructions | Required |
<!-- </csharp-instructions> -->
## Project-Specific Guidelines
### Target Files
- These instructions apply specifically to C# files with pattern `**/*.cs`
- C# code in this project supports infrastructure deployment, edge AI applications, and utility tools
- Each C# component should align with the project's edge AI and infrastructure automation goals
## Implementation Requirements
When implementing any C# functionality in this project:
- You must have read the complete C# documentation before proceeding
- You must adhere to all guidelines provided in the comprehensive instructions
- You must implement all patterns exactly as specified in the copilot C# documentation filesmicrosoft/hve-core
Publicmirrored from https://github.com/microsoft/hve-coreAvailable
.github/instructions/csharp/csharp.instructions.md
53lines · modepreview