我在我的应用程序中使用了这段代码,但警告说: "不推荐使用Formatter类型的formatIpAddress(int)方法"
android.text.format.Formatter.formatIpAddress(mWifiManager.getConnectionInfo().getIpAddress());
Run Code Online (Sandbox Code Playgroud)
什么是快速解决方案?
问题:什么可以是Java的C#等价物? Class.this
原因:假设我在Java和C#中都有相同的Form1类.在Java中我们可以编写,如何用C#编写.Form1.this