Click here to Skip to main content
15,922,427 members
Home / Discussions / C#
   

C#

 
GeneralRe: maximum number of methods supported in C# class Pin
led mike2-Jul-07 4:46
led mike2-Jul-07 4:46 
JokeRe: maximum number of methods supported in C# class Pin
vytheese2-Jul-07 5:54
professionalvytheese2-Jul-07 5:54 
AnswerRe: maximum number of methods supported in C# class Pin
martin_hughes2-Jul-07 3:50
martin_hughes2-Jul-07 3:50 
AnswerRe: maximum number of methods supported in C# class Pin
leppie2-Jul-07 3:54
leppie2-Jul-07 3:54 
GeneralRe: maximum number of methods supported in C# class Pin
vytheese2-Jul-07 5:10
professionalvytheese2-Jul-07 5:10 
GeneralRe: maximum number of methods supported in C# class Pin
leppie2-Jul-07 6:17
leppie2-Jul-07 6:17 
GeneralRe: maximum number of methods supported in C# class Pin
Ed.Poore2-Jul-07 6:16
Ed.Poore2-Jul-07 6:16 
GeneralRe: maximum number of methods supported in C# class Pin
leppie2-Jul-07 6:18
leppie2-Jul-07 6:18 
GeneralRe: maximum number of methods supported in C# class Pin
Ed.Poore2-Jul-07 6:28
Ed.Poore2-Jul-07 6:28 
JokeRe: maximum number of methods supported in C# class Pin
Luc Pattyn2-Jul-07 4:10
sitebuilderLuc Pattyn2-Jul-07 4:10 
GeneralRe: maximum number of methods supported in C# class Pin
vytheese2-Jul-07 5:20
professionalvytheese2-Jul-07 5:20 
AnswerMore than 5000... Pin
Sean Michael Murphy2-Jul-07 9:25
Sean Michael Murphy2-Jul-07 9:25 
GeneralRe: More than 5000... Pin
DavidNohejl2-Jul-07 9:36
DavidNohejl2-Jul-07 9:36 
GeneralRe: More than 5000... Pin
Martin#2-Jul-07 10:03
Martin#2-Jul-07 10:03 
GeneralRe: More than 5000... Pin
PIEBALDconsult2-Jul-07 11:56
mvePIEBALDconsult2-Jul-07 11:56 
GeneralRe: More than 5000... Pin
Sean Michael Murphy2-Jul-07 15:28
Sean Michael Murphy2-Jul-07 15:28 
GeneralRe: More than 5000... Pin
DavidNohejl2-Jul-07 21:54
DavidNohejl2-Jul-07 21:54 
GeneralRe: More than 5000... Pin
PIEBALDconsult3-Jul-07 7:14
mvePIEBALDconsult3-Jul-07 7:14 
GeneralRe: More than 5000... Pin
DavidNohejl3-Jul-07 7:41
DavidNohejl3-Jul-07 7:41 
GeneralRe: More than 100000... Pin
vytheese2-Jul-07 23:16
professionalvytheese2-Jul-07 23:16 
Hi,
<br />
            while( true)<br />
            {<br />
                do<br />
                {<br />
                    inner.Append("      public Int32 Method" + methodCount.ToString() + "() {" + Environment.NewLine + "         return 42;" + Environment.NewLine + "      }" + Environment.NewLine);<br />
                    methodCount++;<br />
                } while ((methodCount % 1000) != 0);    <br />
                <br />
                cr = icc.CompileAssemblyFromSource(cp, pre + inner.ToString() + post); <br />
                <br />
                if (cr.Errors.Count > 0)   <br />
                    break; <br />
                <br />
               System.Console.WriteLine(methodCount.ToString() + " Compiled successfuly ==> so not succed");<br />
            } <br />
            System.Console.WriteLine(methodCount + " may be approximately to -1000 of method count");<br />
<br />


I modified slightly your code as the above and executed, Its going on till 100000 ( above 1 lakh ), My machine got down, So I planned to run today night.

Now I feeling, I shouldn't ask this question first of all Wink | ;)



Thanks,
Vythees


-- modified at 5:24 Tuesday 3rd July, 2007

Thanks,
Vythees
GeneralRe: More than 100000... Pin
Sean Michael Murphy3-Jul-07 5:01
Sean Michael Murphy3-Jul-07 5:01 
GeneralRe: More than 5000... Pin
PIEBALDconsult3-Jul-07 7:37
mvePIEBALDconsult3-Jul-07 7:37 
GeneralMore than 1000000 [modified] Pin
PIEBALDconsult3-Jul-07 11:50
mvePIEBALDconsult3-Jul-07 11:50 
GeneralRe: More than 5000... Pin
Sean Michael Murphy4-Jul-07 18:36
Sean Michael Murphy4-Jul-07 18:36 
QuestionError in calling a webservice Pin
ramdil2-Jul-07 3:15
ramdil2-Jul-07 3:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.