File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
samples/snippets/csharp/VS_Snippets_VBCSharp/csProgGuideGenerics/CS Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -564,11 +564,11 @@ class WrapDelegates2
564564 class Stack < T >
565565 {
566566 public class StackEventArgs : System . EventArgs { }
567- public event StackEventHandler < Stack < T > , StackEventArgs > stackEvent ;
567+ public event StackEventHandler < Stack < T > , StackEventArgs > StackEvent ;
568568
569569 protected virtual void OnStackChanged ( StackEventArgs a )
570570 {
571- stackEvent ( this , a ) ;
571+ StackEvent ( this , a ) ;
572572 }
573573 }
574574
@@ -581,7 +581,7 @@ public static void Test()
581581 {
582582 Stack < double > s = new Stack < double > ( ) ;
583583 SampleClass o = new SampleClass ( ) ;
584- s . stackEvent += o . HandleStackChange ;
584+ s . StackEvent += o . HandleStackChange ;
585585 }
586586 //</Snippet40>
587587 }
You can’t perform that action at this time.
0 commit comments