I have a rich text box in my winform. I want to format the text so that i can write a simple C code in it. I mean the indentation should be done accordingly (like the code tag on websites). Is it possible??

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.