C# '+=' Operator

前端 未结 2 1489
别那么骄傲
别那么骄傲 2021-01-29 17:02

I have some code that contains the operator \'+=\'.

Specifically, the code reads as follows:

foreach (KeyValuePair row in connecti         


        
2条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-29 17:39

    It is an assignment operator. It adds right operand to the left operand and assigns the result to left operand.

    You may want read few tutorials, so you can gain better understanding of c# fundamentals.

提交回复
热议问题