I want a easy solution to get part of string in C#.
The string structure is like C++ blocks.
class aaa{ void bbb(){ ccc {...} text1 } text2}
The string I want is to get a specified block of code like following.
string.blocks.second() :
which should return :
{ ccc {...} text1 }