C# null coalescing operator returning null

前端 未结 6 2339
小鲜肉
小鲜肉 2021-02-14 10:44

Recently my co-worker showed me a block of code that was not working correctly:

public class SomeClass
{
    private IList _categories;

    publ         


        
6条回答
  •  独厮守ぢ
    2021-02-14 11:24

    Try doing a clean build. Build menu-> clean, then debug again. The code itself is fine.

提交回复
热议问题