C#多类程序 [英] c# multi classes program

查看:91
本文介绍了C#多类程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我是新来的,但我有疑问
我创建了一个包含20个类的程序,如何在没有其他类的情况下调用一个类呢?

hello everyone i''m new here but i have question
i create a program that have 20 classes how can i call one class without the others??

推荐答案

没有调用类"这样的概念,所以,显然,您无法做什至不存在的事情.

如果您的意思是调用方法",那么该问题将毫无意义,因为当您调用方法时,其他类"是无关紧要的.

看,我只能看到您的两个问题,但是很显然,这两个问题告诉您,您还没有资格在论坛上提问.拜托,您至少需要在基本了解问题中所用单词的基础上接受一些基础教育.当您获得这种了解时,欢迎回来.

—SA
There is no such concept as "call a class", so, apparently, you cannot do something which does not even exist.

If you meant "call a method", the question would no make any sense anyway, because when you call a method, "other classes" are irrelevant.

Look, I can see only two of your questions, but those two questions clearly tell me that, unfortunately, you are not yet qualified to ask questions at the forum. Please, you need to get some basic education at least to the extent when you basically understand the words you are using in your question. When you gain such level of understanding, welcome back.

—SA


这篇关于C#多类程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆