answersLogoWhite

0


Best Answer
Answers
  • A class means collection of methods/functions. Method/function accepts parameters, process set of codes which you have written in the module/function and returns the output to the caller. Collection of class is called Class Library. When you complie the Class Library it becomes a DLL.
  • A class is simply an abstract model used to define new data types. A class may contain any combination of encapsulated data (fields or member variables), operations that can be performed on the data (methods) and accessors to data (properties). For example, there is a class String in the System namespace of .Net Framework Class Library (FCL). This class contains an array of characters (data) and provide different operations (methods) that can be applied to its data like ToLowerCase(), Trim(), Substring(), etc. It also has some properties like Length (used to find the length of the string).
  • A class in VB.Net is declared using the keyword Class and its members are enclosed with the End Class marker
User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

15y ago

Imagine a class as some group of information for describing an object in real life, forget about programming. A class is something that does not yet exists. Its something only on paper. A design. A set of information for giving later a real instance to its real content. Class-oriented programming gives to the programmer (and the program itself) the extreme ability to be easy serviced and easy upgraded. Its more likely the easiest way to understand better what the code does, even if that code is very big in size.

a class can be analogous with any real life object like "Table". now if we need to define its properties like length, with , height etc, and calculations like volume, surface area etc. like that while programming if something has few particular properties and methods to be performed upon, those can be consolidated in a class. i.e in a class we can consolidate the properties and methods of something, which can be instantiated later on

This answer is:
User Avatar

User Avatar

Wiki User

16y ago

Hi, A class means collection of methods/functions. Method/function accepts parameters, process set of codes which you have written in the module/function and returns the output to the caller. Collection of class is called Class Library. When you complie the Class Library it becomes a DLL. So when you build an application, you don't want to write all the methods/functions within you program to avoid the oversize of your application. These commonly used methods/functions you can put it inside the DLL and use it where ever required in your VB.Net application.

Hope this helps

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

In C#, a class's definition can be split up into any number of files if each part of the class definition is labeled with the "partial" keyword. A class that is split up in this way behaves exactly the same as if all of the parts were defined in a single file.

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

A class defines the properties and methods that several objects share. Objects on the other hand take up space in memory and have physical addresses where the memory can be found. For every class there may be multiple objects allocated, but all of those objects have the structure and methods determined by the class.

For a non-programming example, consider the class "person". Person has the properties "age", "weight", and "height", etc. Person has the methods "sleep", "wake", and "go to work". Some objects in that class are you, me, and my girlfriend. Since you, me and my girlfriend are objects in the class person, we can expect my girlfriend has an age, I have a weight, and you have a height (actually, we all have all of these properties). We can also expect that we can send the messages "wake", "sleep" and "go to work" to any or all of us. you, me and my girlfriend are said to be "instances" of the class person.

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

A partial class in one which can be extended across more than one file. As for example, you may notice that when you create a GUI Form in .net , the code for generating user interface is placed in one file which belongs to the same class to which the events and codes are placed in. For more clarification , when your create a form you get two files, one is with extension .cs and other is .designer.cs both corresponds to the same class may be and both are declare partial , as the name suggest it's a portion of the same class spread across various files.

Regards,

Shoaib Khan - SRK

Mob: +91-9534330837

Email: shoaibrazakhan@gmail.com

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

C# itself has no classes defined. But if you are wondering how many classes in the code libraries/namespaces such as System, System.IO, etc.. the count of the classes does not matter. Some of them may not be written in C#, and the numbers varied from version to version. There are just too many classes in the code library to know them all, and no one should.

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

A class in C# is the basic unit of program, any program written in C# must have at least 1 class.

C# is an object-oriented programming language, which means a program is constructed as interaction between objects. These objects are created as instances of some templates/blueprints, and we called those templates/blueprints classes. Classes not only hold data members (instance variables), they also define behaviors (methods) to allow other objects to interact with it.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is a partial class in Csharp programming?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Who wants to study programming in CSharp and React?

I make video blog where I want to answer on your question and lead your studing. Who is interested?


Why java is 100 percent programming language?

There are no 'partial' programming languages.


Array is value type or reference type in CSharp?

Array is a class name, hence ought to be a value type.


Is overloading supported in csharp?

Yes


Where can you find a tutor for Programming I class?

At school


How do you use C code in Asp.Net using CSharp. I have code written in C and I want to use it in my ASP.NET application written in CSharp. What are the ways of converting importing using that code?

tretwre


What class of drugs is suboxone?

Suboxone is an opiate class drug/medication.


A function and a class which is preferred and which is legal in cplusplus programming language?

you


What is an easy way to learn computer programming?

Attend a class on it


Is array is value type or reference type in CSharp?

refernce type


What is a partial class in ADO NET?

A partial class is a .NET feature that permits a class to be written across multiple declarations within an assembly. The most prominent usage of this concept is within ASP.net with respect to the declaration of web form pages. As described by the definition, a portion of the class is written in the CS code behind. The other part of the class is created during compilation and then merged with the code-behind part to create the class in its entirety. Another uses of partial classes is just to split a class across multiple files.


What is need of object in object oriented programming?

Object is an instant of the class, by using an object we can members of the class.