PLEASE HELP!! Is it possible to output my actual method (the code compiled) to a string? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

PLEASE HELP!! Is it possible to output my actual method (the code compiled) to a string?

Hi all. this has bugged me for ages. I am developing a c# windows form to help my colleagues support some customers. but there not developers so I want to be able to show in a window the code actually run for the given task. is this possible and if so what's the preffered way? currently I copy the entire method into a formatted string but this is so messy thanks in advance

14th Dec 2017, 3:09 PM
Stephen Brett
Stephen Brett - avatar
4 Respostas
+ 1
you want to share the code as it is, it looks like..??
14th Dec 2017, 3:42 PM
ŠœŠ³. ŠšŠ½Š°ŠæšŸŒ 
ŠœŠ³. ŠšŠ½Š°ŠæšŸŒ  - avatar
0
hi Sami yes I want the actual code I wrote (the method) to be picked up and shown to the user without the need for me to manually format it into a string and returning that. in short I want the user to be able to see what code is required to perform an action
14th Dec 2017, 3:47 PM
Stephen Brett
Stephen Brett - avatar
0
take screenshot and send them šŸ˜…šŸ˜…šŸ˜…
14th Dec 2017, 3:48 PM
ŠœŠ³. ŠšŠ½Š°ŠæšŸŒ 
ŠœŠ³. ŠšŠ½Š°ŠæšŸŒ  - avatar
0
hmm not very helpful Sami
14th Dec 2017, 3:49 PM
Stephen Brett
Stephen Brett - avatar