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 Réponses
+ 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