.NET6 全局using
语法
全局using你再也不用每个类里都引用命名空间了
项目的csproj文件中加入 
  <ItemGroup>
    <PackageReference Include="LeetCode.CommunityToolKit" Version="4.0.3" />
    <Using Include="LeetCode.CommunityToolKit.Models;" />
    <Using Include="System.Collections.Generic;" />
    <Using Include="System.Linq;" />
  </ItemGroup>

 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号