Quantcast
Channel: Microsoft "Roslyn" CTP forum
Viewing all articles
Browse latest Browse all 504

How to get the value of an array in Roslyn

$
0
0

Hi All,

I try to get the array value using Roslyn. For example, if I have a C# code like this:

int[] arrInt ={10,20,30,40,50};

then how can I get the information that the value in arrInt[0] is 10, arrInt[1] is 20, and so on.

Many thanks



Viewing all articles
Browse latest Browse all 504

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>