This study analyzed over 1,988 open-source C# repositories on GitHub to detect 30 code smells, including 19 design smells and 11 implementation smells. The most frequently occurring smells were Magic Number (over 2.9 million instances), Unutilized Abstraction (over 90,000 instances), and Duplicate Abstraction (over 73,000 instances). There was a strong positive correlation between the occurrence of design smells and implementation smells. Certain smells also tended to co-occur within their category. Finally, design smell density decreased but implementation smell density increased as project size grew.