Click here to Skip to main content
15,917,538 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to make these drawing format like line , square , sphere with constructor in c# console , for example input 2 xy for the line
4 xy for square and then console drawing square for me , any body can help me
Posted

1 solution

Rule 1: Do not attempt to do graphics in the console. It is text based, not graphics. Use a Winforms App instead.
While you can do some primitive drawing in the console, using characters that are shaped like parts of lines, what you can draw with them is very limited - horizontal and vertical lines with corners basically. Diagonal lines not at 45 degrees? Nope. Circles? Nope. Spheres? :laugh:
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900