How to display c++ c java c# code as code in textbox with a proper indent of coding

How to create a app which have all the collection of java programs and how to display that java programs in the text or card with a proper indent in the app
help please?

what exactly do you want to do? to display program’s code in correct format?

yes correct with proper indentation

Please don’t create 2 topics about the same thing here: