Convert nullable string to nullable int in c#

前端 未结 0 1524
忘了有多久
忘了有多久 2020-12-19 17:13

I have variable with below

  int? a=null ;
    
  string? b= null;

I need to assign a=b ;

What is best way to assign in c# 9

         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题