Regex for variable declaration and initialization in c#

后端 未结 4 532
生来不讨喜
生来不讨喜 2020-12-18 16:50

I want to write a RegEx to pull out all the variable values and their names from the variable declaration statement. Say i have

int i,k = 10,l=0

i want to wr

4条回答
  •  庸人自扰
    2020-12-18 17:07

    Here is some useful information which you can use

    http://compsci.ca/v3/viewtopic.php?t=6712

提交回复
热议问题