wakachi
New member
- Joined
- May 21, 2020
- Messages
- 4
- Programming Experience
- Beginner
I have a file text including C# code like below extension of the file .txt
```
private static readonly TextConstant Text001 = new TextConstant(new int[]{01, 02}, new string[]{"Test01", "Test02"}
private static readonly TextConstant Text002 = new TextConstant(new int[]{01,03, 02}, new string[]{"Test001","Test03", "Test02"}
```
I want to lookup information for each variable in this file.
Output expected :
```
Text001.a(1) --> Value 01
Text001.a(2) --> Value 02
Text001.b(1) --> Value "Test01"
Text001.b(2) --> Value "Test02"
Text001.a(1) --> Value 01
Text001.a(2) --> Value 03
Text001.a(3) --> Value 02
Text001.b(1) --> Value "Test01"
Text001.b(2) --> Value "Test03"
Text001.b(3) --> Value "Test02"
```
Thanks.
```
private static readonly TextConstant Text001 = new TextConstant(new int[]{01, 02}, new string[]{"Test01", "Test02"}
private static readonly TextConstant Text002 = new TextConstant(new int[]{01,03, 02}, new string[]{"Test001","Test03", "Test02"}
```
I want to lookup information for each variable in this file.
Output expected :
```
Text001.a(1) --> Value 01
Text001.a(2) --> Value 02
Text001.b(1) --> Value "Test01"
Text001.b(2) --> Value "Test02"
Text001.a(1) --> Value 01
Text001.a(2) --> Value 03
Text001.a(3) --> Value 02
Text001.b(1) --> Value "Test01"
Text001.b(2) --> Value "Test03"
Text001.b(3) --> Value "Test02"
```
Thanks.