习俗课 [英] custom class

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

问题描述



什么是自定义课程?
我们在哪里使用Custom类?

Hi,

What is Custom Class?
Where do we use the Custom class?

推荐答案

自定义类是程序员出于特定目的而编写的,与所有先前存在的类相反.NET框架.

所以当我做这样的事情时:

A custom class is one that is written by a programmer for a specific purpose opposed to all the pre-existing classes that come with the .NET framework.

So when I do something like this:

public class MyClass
{
    int test;
    String whatever;

    public MyClass(int i, String s)
    {
        this.test = i;
        this.whatever = s;
    }
}



我创建了一个自定义类.

干杯

Manfred



I''ve created a custom class.

Cheers

Manfred


您生成的任何类都是Custom类或Custom Type.但是在某些情况下,声明您的课程的方式可能会改变.


检查
http://msdn.microsoft.com/en-us/library/ms753379.aspx [ ^ ]

:rose:
Any class you produce is a Custom class or Custom Type rather. But in certain cases the way of declaring your class might change.


Check
http://msdn.microsoft.com/en-us/library/ms753379.aspx[^]

:rose:


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

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