Is there any real or virtual class size limitations? such as number of
methods, properties or fields? I know its bad practice to make a class
outragiously large, but was just wondering if there was any. thanks! 6 1370
On May 24, 10:07 am, "Smokey Grindle" <nos...@nospam.comwrote:
Is there any real or virtual class size limitations? such as number of
methods, properties or fields? I know its bad practice to make a class
outragiously large, but was just wondering if there was any. thanks!
I can't imagine there is one, but I'm no expert on things like that.
However, I have seen classes that were very large in production
applications running without problem. Curiousity or do you have a 300
Method class on the way?
You could easily do some code that creates a class with dummy members for a
test. IMO the limit is likely theorical...
"Smokey Grindle" <no****@nospam.coma écrit dans le message de news: OW*************@TK2MSFTNGP05.phx.gbl...
Is there any real or virtual class size limitations? such as number of
methods, properties or fields? I know its bad practice to make a class
outragiously large, but was just wondering if there was any. thanks!
"Smokey Grindle" <no****@nospam.comschrieb:
Is there any real or virtual class size limitations? such as number of
methods, properties or fields? I know its bad practice to make a class
outragiously large, but was just wondering if there was any. thanks!
I believe there is no practically relevant limit.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Smokey,
Everything inherits from one class and that class has than many members.
"Object"
Cor
"Smokey Grindle" <no****@nospam.comschreef in bericht
news:OW*************@TK2MSFTNGP05.phx.gbl...
Is there any real or virtual class size limitations? such as number of
methods, properties or fields? I know its bad practice to make a class
outragiously large, but was just wondering if there was any. thanks!
Smokey Grindle wrote:
Is there any real or virtual class size limitations? such as number of
methods, properties or fields? I know its bad practice to make a class
outragiously large, but was just wondering if there was any. thanks!
There might be some limitations in the compiler or in the file format
for the compiled code. I would expect to see something like a limit of
2147483647 methods in a class.
IIRC 32 bit code can not handle memory structures larger than 4 GB.
--
Göran Andersson
_____ http://www.guffa.com
just curious
"Charlie Brown" <cb****@duclaw.comwrote in message
news:11**********************@m36g2000hse.googlegr oups.com...
On May 24, 10:07 am, "Smokey Grindle" <nos...@nospam.comwrote:
>Is there any real or virtual class size limitations? such as number of methods, properties or fields? I know its bad practice to make a class outragiously large, but was just wondering if there was any. thanks!
I can't imagine there is one, but I'm no expert on things like that.
However, I have seen classes that were very large in production
applications running without problem. Curiousity or do you have a 300
Method class on the way? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Steven T. Hatton |
last post by:
This may be another question having an obvious answer, but I'm not seeing
it. I'm trying to create a class that derives from
std::valarray<std::string>. I don't need a template, and I haven't come...
|
by: bugzilla |
last post by:
hi,all,
I have a C++ program need to convert to c language to be used in a
emabedded system. the problem is that the original code was writtern
in C++ language with Parent class and some child...
|
by: Hyun-jik Bae |
last post by:
Is that not allowed to assume generic type numeric type? As far as I've
tried, I got an error with the following code:
public class AAA<T>
{
public int Foo(T a)
{
return a; // error: Cannot...
|
by: James Kanze |
last post by:
On Aug 13, 5:32 am, Jack Klein <jackkl...@spamcop.netwrote:
While you've made a number of important points:
In other words, according to the C standard, any signal
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |