File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
samples/snippets/csharp/VS_Snippets_VBCSharp/csrefKeywordsModifiers/CS Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ interface I
3636 {
3737 void M ( ) ;
3838 }
39+
3940 abstract class C : I
4041 {
4142 public abstract void M ( ) ;
@@ -95,6 +96,7 @@ public class T1
9596 public static int publicInt ;
9697 internal static int internalInt ;
9798 private static int privateInt = 0 ;
99+
98100 static T1 ( )
99101 {
100102 // T1 can access public or internal members
@@ -210,8 +212,8 @@ static void Main()
210212 //<snippet7>
211213 public class SampleEventArgs
212214 {
213- public SampleEventArgs ( string s ) { Text = s ; }
214- public String Text { get ; } // readonly
215+ public SampleEventArgs ( string text ) { Text = text ; }
216+ public string Text { get ; } // readonly
215217 }
216218
217219 public class Publisher
You can’t perform that action at this time.
0 commit comments