开发者

Expected class, delegate, enum, interface, or struct in c#

this is my code

 using System;
 using System.C开发者_运维知识库ollections;
 using System.Collections.Generic;
 using System.Data;
 using System.Diagnostics;
 public partial class Class1 
  {

     public void method2() 
      {

          }

   } 

I saw the solution for brackets problem but its in proper manner as you can see . whats the cause of this error can any one help me? i am using asp.net 1.1.


The partial keyword is not supported in C# 1.x. You need to update your framework to v2.0 at least.


Partial classes are not supported in C# 1.x.


Partial classes are not supported in C# 1.x. This will fix it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜