# 버그를 찾아라: .NET > 코드 한 조각. 버그를 찾거나, 버그가 없음을 증명하세요. 데일리 챌린지: 2026-08-19 (UTC) · Senior ```csharp using System.Collections.Generic; public class RequestCounter { private readonly Dictionary _counts = new(); private readonly object _lock = new(); public void Increment(string endpoint) { lock (_lock) { if (!_counts.ContainsKey(endpoint)) _counts[endpoint] = 0; _counts[endpoint]++; } } public int GetCount(string endpoint) { return _counts.TryGetValue(endpoint, out var count) ? count : 0; } } ``` ## 당신의 판단 - 보안 취약점 - 로직 버그 - 코드 스타일 - 문제 없음 하루 한 번. 제출하면 바로 정답이 표시됩니다. --- Source: SharpSkill (https://sharpskill.dev), tech interview preparation for your real stack. HTML version of this page: https://sharpskill.dev/ko/daily/dotnet