Is there any way to print or use in anyway an actual code piece or snip? Like if the code is-
if(BA == True)
{
    Console.Writeline("Okay") 
};
Then if it's possible to actually print that entire text "if...} ;" to the console or excel / word file etc.. so the console output will be-
if(BA == True)
{ 
    Console.Writeline("Okay") 
}; 
for example.. Sounds like very simple and basic if possible at all, but i couldn't find it anywhere with many search combos..
Thanks..
 
     
     
    