I want to use windows form and console application in same project and I can 开发者_开发问答access the console like writeline() Readline() how using c#?
Create a windows form project and change the properties of the project > Application type "Output type:" to Console application. The program will load the form normally and console.write()'s will appear in the console app which will automagically display.
精彩评论