Serializable

S

shapper

Hello,

I have a class with various properties: strings, integers, controls,
etc.

I made this class serializable using:

[Serializable]
public class Employee
....

My question is:

Can I do this when I have properties of type control?

What data types can my class properties have?

Thanks,

Miguel
 
S

Scott M.

Input & Output types that is, not types used exclusively for internal class
processing.


Scott M. said:
All types must be serializable.


shapper said:
Hello,

I have a class with various properties: strings, integers, controls,
etc.

I made this class serializable using:

[Serializable]
public class Employee
...

My question is:

Can I do this when I have properties of type control?

What data types can my class properties have?

Thanks,

Miguel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top