Click here to Skip to main content
15,881,516 members
Please Sign up or sign in to vote.
2.50/5 (2 votes)
See more:

What is Custom Class?
Where do we use the Custom class?
Updated 29-Nov-10 21:46pm
Dalek Dave 30-Nov-10 3:46am    
Minor Edit for Grammar.

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;

I've created a custom class.


Share this answer
Dalek Dave 30-Nov-10 3:47am    
Straightforward answer to a basic question.
Any class you produce is a Custom class or Custom Type rather. But in certain cases the way of declaring your class might change.


Share this answer
Dalek Dave 30-Nov-10 3:47am    
Good link.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900