Console unavailable in class library c#

后端 未结 2 759
后悔当初
后悔当初 2021-02-19 15:15

This question here seems contrary to what I have experienced. I cannot access the console from within a new class library. I have using System; at the top. I am usi

2条回答
  •  心在旅途
    2021-02-19 16:01

    System.Diagnostics.Debug.WriteLine("test");
    

    https://msdn.microsoft.com/en-us/library/9z9k5ydz(v=vs.110).aspx

提交回复
热议问题