diff --git a/docs/standard/events/snippets/raise-consume/csharp/eventsoverview/DesignTimeBuild/.dtbcache.v2 b/docs/standard/events/snippets/raise-consume/csharp/eventsoverview/DesignTimeBuild/.dtbcache.v2
deleted file mode 100644
index f3437f8c87d83..0000000000000
Binary files a/docs/standard/events/snippets/raise-consume/csharp/eventsoverview/DesignTimeBuild/.dtbcache.v2 and /dev/null differ
diff --git a/docs/standard/events/snippets/raise-consume/csharp/eventsoverview/FileContentIndex/110eb034-4cd0-41ab-b975-3f6c4c4beb0d.vsidx b/docs/standard/events/snippets/raise-consume/csharp/eventsoverview/FileContentIndex/110eb034-4cd0-41ab-b975-3f6c4c4beb0d.vsidx
deleted file mode 100644
index ac19447a4035b..0000000000000
Binary files a/docs/standard/events/snippets/raise-consume/csharp/eventsoverview/FileContentIndex/110eb034-4cd0-41ab-b975-3f6c4c4beb0d.vsidx and /dev/null differ
diff --git a/docs/standard/events/snippets/raise-consume/csharp/eventsoverview/v18/.futdcache.v2 b/docs/standard/events/snippets/raise-consume/csharp/eventsoverview/v18/.futdcache.v2
deleted file mode 100644
index 9fe88a5a33218..0000000000000
Binary files a/docs/standard/events/snippets/raise-consume/csharp/eventsoverview/v18/.futdcache.v2 and /dev/null differ
diff --git a/docs/standard/events/snippets/raise-consume/csharp/eventsoverview/v18/.suo b/docs/standard/events/snippets/raise-consume/csharp/eventsoverview/v18/.suo
deleted file mode 100644
index 4ccad37b405f5..0000000000000
Binary files a/docs/standard/events/snippets/raise-consume/csharp/eventsoverview/v18/.suo and /dev/null differ
diff --git a/docs/standard/events/snippets/raise-consume/csharp/programnodata.cs b/docs/standard/events/snippets/raise-consume/csharp/programnodata.cs
deleted file mode 100644
index 4cb743088d32c..0000000000000
--- a/docs/standard/events/snippets/raise-consume/csharp/programnodata.cs
+++ /dev/null
@@ -1,43 +0,0 @@
-namespace ConsoleApplication1
-{
- //
- class ProgramOne
- {
- static void Main()
- {
- Counter c = new(new Random().Next(10));
- c.ThresholdReached += c_ThresholdReached;
-
- Console.WriteLine("press 'a' key to increase total");
- while (Console.ReadKey(true).KeyChar == 'a')
- {
- Console.WriteLine("adding one");
- c.Add(1);
- }
- }
-
- static void c_ThresholdReached(object? sender, EventArgs e)
- {
- Console.WriteLine("The threshold was reached.");
- Environment.Exit(0);
- }
- }
-
- class Counter(int passedThreshold)
- {
- private readonly int _threshold = passedThreshold;
- private int _total;
-
- public void Add(int x)
- {
- _total += x;
- if (_total >= _threshold)
- {
- ThresholdReached?.Invoke(this, EventArgs.Empty);
- }
- }
-
- public event EventHandler? ThresholdReached;
- }
- //
-}
diff --git a/docs/standard/events/snippets/raise-consume/csharp/programtruncated.cs b/docs/standard/events/snippets/raise-consume/csharp/programtruncated.cs
deleted file mode 100644
index 4a961ffd27d47..0000000000000
--- a/docs/standard/events/snippets/raise-consume/csharp/programtruncated.cs
+++ /dev/null
@@ -1,48 +0,0 @@
-namespace ConsoleApplication2
-{
- //
- class ProgramTwo
- {
- static void Main()
- {
- var c = new Counter();
- c.ThresholdReached += c_ThresholdReached;
-
- // Provide remaining implementation for the class...
- }
-
- static void c_ThresholdReached(object? sender, EventArgs e)
- {
- Console.WriteLine("The threshold was reached.");
- }
- }
- //
-
- //
- class Counter
- {
- public event EventHandler? ThresholdReached;
-
- protected virtual void OnThresholdReached(EventArgs e)
- {
- ThresholdReached?.Invoke(this, e);
- }
-
- // Provide remaining implementation for the class...
- }
- //
-
- //
- public class ThresholdReachedEventArgs : EventArgs
- {
- public int Threshold { get; set; }
- public DateTime TimeReached { get; set; }
- }
- //
-
- //
- public delegate void ThresholdReachedEventHandler(
- object sender,
- ThresholdReachedEventArgs e);
- //
-}
diff --git a/docs/standard/events/snippets/raise-consume/csharp/programwithdata.cs b/docs/standard/events/snippets/raise-consume/csharp/programwithdata.cs
deleted file mode 100644
index 4e0dfcf66c789..0000000000000
--- a/docs/standard/events/snippets/raise-consume/csharp/programwithdata.cs
+++ /dev/null
@@ -1,57 +0,0 @@
-namespace ConsoleApplication3
-{
- //
- class ProgramThree
- {
- static void Main()
- {
- Counter c = new(new Random().Next(10));
- c.ThresholdReached += c_ThresholdReached;
-
- Console.WriteLine("press 'a' key to increase total");
- while (Console.ReadKey(true).KeyChar == 'a')
- {
- Console.WriteLine("adding one");
- c.Add(1);
- }
- }
-
- static void c_ThresholdReached(object? sender, ThresholdReachedEventArgs e)
- {
- Console.WriteLine($"The threshold of {e.Threshold} was reached at {e.TimeReached}.");
- Environment.Exit(0);
- }
- }
-
- class Counter(int passedThreshold)
- {
- private readonly int _threshold = passedThreshold;
- private int _total;
-
- public void Add(int x)
- {
- _total += x;
- if (_total >= _threshold)
- {
- ThresholdReachedEventArgs args = new ThresholdReachedEventArgs();
- args.Threshold = _threshold;
- args.TimeReached = DateTime.Now;
- OnThresholdReached(args);
- }
- }
-
- protected virtual void OnThresholdReached(ThresholdReachedEventArgs e)
- {
- ThresholdReached?.Invoke(this, e);
- }
-
- public event EventHandler? ThresholdReached;
- }
-
- public class ThresholdReachedEventArgs : EventArgs
- {
- public int Threshold { get; set; }
- public DateTime TimeReached { get; set; }
- }
- //
-}
diff --git a/docs/standard/events/snippets/raise-consume/csharp/programwithdelegate.cs b/docs/standard/events/snippets/raise-consume/csharp/programwithdelegate.cs
deleted file mode 100644
index c83c2038b38d4..0000000000000
--- a/docs/standard/events/snippets/raise-consume/csharp/programwithdelegate.cs
+++ /dev/null
@@ -1,66 +0,0 @@
-namespace ConsoleApplication4
-{
- //
- class ProgramFour
- {
- static void Main()
- {
- Counter c = new(new Random().Next(10));
- c.ThresholdReached += c_ThresholdReached;
-
- Console.WriteLine("press 'a' key to increase total");
- while (Console.ReadKey(true).KeyChar == 'a')
- {
- Console.WriteLine("adding one");
- c.Add(1);
- }
- }
-
- static void c_ThresholdReached(Object sender, ThresholdReachedEventArgs e)
- {
- Console.WriteLine($"The threshold of {e.Threshold} was reached at {e.TimeReached}.");
- Environment.Exit(0);
- }
- }
-
- class Counter
- {
- private readonly int _threshold;
- private int _total;
-
- public Counter(int passedThreshold)
- {
- _threshold = passedThreshold;
- }
-
- public void Add(int x)
- {
- _total += x;
- if (_total >= _threshold)
- {
- ThresholdReachedEventArgs args = new();
- args.Threshold = _threshold;
- args.TimeReached = DateTime.Now;
- OnThresholdReached(args);
- }
- }
-
- protected virtual void OnThresholdReached(ThresholdReachedEventArgs e)
- {
- ThresholdReached?.Invoke(this, e);
- }
-
- public event ThresholdReachedEventHandler ThresholdReached;
- }
-
- public class ThresholdReachedEventArgs : EventArgs
- {
- public int Threshold { get; set; }
- public DateTime TimeReached { get; set; }
- }
-
- public delegate void ThresholdReachedEventHandler(
- object sender,
- ThresholdReachedEventArgs e);
- //
-}
diff --git a/docs/standard/events/snippets/raise-consume/csharp/project.csproj b/docs/standard/events/snippets/raise-consume/csharp/project.csproj
deleted file mode 100644
index a5314e08a612e..0000000000000
--- a/docs/standard/events/snippets/raise-consume/csharp/project.csproj
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- net10.0
- enable
- true
- Exe
- ConsoleApplication2.ProgramTwo
-
-
-
diff --git a/docs/standard/events/snippets/raise-consume/vb/module1nodata.vb b/docs/standard/events/snippets/raise-consume/vb/module1nodata.vb
deleted file mode 100644
index b99edef2ca809..0000000000000
--- a/docs/standard/events/snippets/raise-consume/vb/module1nodata.vb
+++ /dev/null
@@ -1,39 +0,0 @@
-'
-Module Module1
-
- Sub Main()
- Dim c As New Counter(New Random().Next(10))
- AddHandler c.ThresholdReached, AddressOf c_ThresholdReached
-
- Console.WriteLine("press 'a' key to increase total")
- While Console.ReadKey(True).KeyChar = "a"
- Console.WriteLine("adding one")
- c.Add(1)
- End While
- End Sub
-
- Sub c_ThresholdReached(sender As Object, e As EventArgs)
- Console.WriteLine("The threshold was reached.")
- Environment.Exit(0)
- End Sub
-End Module
-
-Class Counter
- Private ReadOnly _threshold As Integer
- Private _total As Integer
-
- Public Sub New(passedThreshold As Integer)
- _threshold = passedThreshold
- End Sub
-
- Public Sub Add(x As Integer)
- _total += x
- If (_total >= _threshold) Then
- RaiseEvent ThresholdReached(Me, EventArgs.Empty)
- End If
- End Sub
-
- Public Event ThresholdReached As EventHandler
-End Class
-'
-
diff --git a/docs/standard/events/snippets/raise-consume/vb/module1truncated.vb b/docs/standard/events/snippets/raise-consume/vb/module1truncated.vb
deleted file mode 100644
index d4111b9173091..0000000000000
--- a/docs/standard/events/snippets/raise-consume/vb/module1truncated.vb
+++ /dev/null
@@ -1,42 +0,0 @@
-Namespace Module2Example
- '
- Module Module2
-
- Sub Main()
- Dim c As New Counter()
- AddHandler c.ThresholdReached, AddressOf c_ThresholdReached
-
- ' provide remaining implementation for the class
- End Sub
-
- Sub c_ThresholdReached(sender As Object, e As EventArgs)
- Console.WriteLine("The threshold was reached.")
- End Sub
- End Module
- '
-
- '
- Public Class Counter
- Public Event ThresholdReached As EventHandler
-
- Protected Overridable Sub OnThresholdReached(e As EventArgs)
- RaiseEvent ThresholdReached(Me, e)
- End Sub
-
- ' provide remaining implementation for the class
- End Class
- '
-
- '
- Public Class ThresholdReachedEventArgs
- Inherits EventArgs
-
- Public Property Threshold As Integer
- Public Property TimeReached As Date
- End Class
- '
-
- '
- Public Delegate Sub ThresholdReachedEventHandler(sender As Object, e As ThresholdReachedEventArgs)
- '
-End Namespace
diff --git a/docs/standard/events/snippets/raise-consume/vb/module1withdata.vb b/docs/standard/events/snippets/raise-consume/vb/module1withdata.vb
deleted file mode 100644
index 126b367ddc8fe..0000000000000
--- a/docs/standard/events/snippets/raise-consume/vb/module1withdata.vb
+++ /dev/null
@@ -1,56 +0,0 @@
-Namespace Module3Example
- '
- Module Module3
-
- Sub Main()
- Dim c As New Counter(New Random().Next(10))
- AddHandler c.ThresholdReached, AddressOf c_ThresholdReached
-
- Console.WriteLine("press 'a' key to increase total")
- While Console.ReadKey(True).KeyChar = "a"
- Console.WriteLine("adding one")
- c.Add(1)
- End While
- End Sub
-
- Sub c_ThresholdReached(sender As Object, e As ThresholdReachedEventArgs)
- Console.WriteLine("The threshold of {0} was reached at {1}.", e.Threshold, e.TimeReached)
- Environment.Exit(0)
- End Sub
- End Module
-
- Class Counter
- Private ReadOnly _threshold As Integer
- Private _total As Integer
-
- Public Sub New(passedThreshold As Integer)
- _threshold = passedThreshold
- End Sub
-
- Public Sub Add(x As Integer)
- _total += x
- If (_total >= _threshold) Then
- Dim args As New ThresholdReachedEventArgs With {
- .Threshold = _threshold,
- .TimeReached = Date.Now
- }
- OnThresholdReached(args)
- End If
- End Sub
-
- Protected Overridable Sub OnThresholdReached(e As ThresholdReachedEventArgs)
- RaiseEvent ThresholdReached(Me, e)
- End Sub
-
- Public Event ThresholdReached As EventHandler(Of ThresholdReachedEventArgs)
- End Class
-
- Class ThresholdReachedEventArgs
- Inherits EventArgs
-
- Public Property Threshold As Integer
- Public Property TimeReached As Date
- End Class
- '
-End Namespace
-
diff --git a/docs/standard/events/snippets/raise-consume/vb/module1withdelegate.vb b/docs/standard/events/snippets/raise-consume/vb/module1withdelegate.vb
deleted file mode 100644
index 440ec3376144b..0000000000000
--- a/docs/standard/events/snippets/raise-consume/vb/module1withdelegate.vb
+++ /dev/null
@@ -1,59 +0,0 @@
-
-Namespace Module4Example
- '
- Module Module4
-
- Sub Main()
- Dim c As New Counter(New Random().Next(10))
- AddHandler c.ThresholdReached, AddressOf c_ThresholdReached
-
- Console.WriteLine("press 'a' key to increase total")
- While Console.ReadKey(True).KeyChar = "a"
- Console.WriteLine("adding one")
- c.Add(1)
- End While
- End Sub
-
- Sub c_ThresholdReached(sender As Object, e As ThresholdReachedEventArgs)
- Console.WriteLine("The threshold of {0} was reached at {1}.", e.Threshold, e.TimeReached)
- Environment.Exit(0)
- End Sub
- End Module
-
- Class Counter
- Private ReadOnly _threshold As Integer
- Private _total As Integer
-
- Public Sub New(passedThreshold As Integer)
- _threshold = passedThreshold
- End Sub
-
- Public Sub Add(x As Integer)
- _total += x
- If (_total >= _threshold) Then
- Dim args As New ThresholdReachedEventArgs With {
- .Threshold = _threshold,
- .TimeReached = Date.Now
- }
- OnThresholdReached(args)
- End If
- End Sub
-
- Protected Overridable Sub OnThresholdReached(e As ThresholdReachedEventArgs)
- RaiseEvent ThresholdReached(Me, e)
- End Sub
-
- Public Event ThresholdReached As ThresholdReachedEventHandler
- End Class
-
- Public Class ThresholdReachedEventArgs
- Inherits EventArgs
-
- Public Property Threshold As Integer
- Public Property TimeReached As Date
- End Class
-
- Public Delegate Sub ThresholdReachedEventHandler(sender As Object, e As ThresholdReachedEventArgs)
- '
-
-End Namespace
diff --git a/docs/standard/events/snippets/raise-consume/vb/project.vbproj b/docs/standard/events/snippets/raise-consume/vb/project.vbproj
deleted file mode 100644
index 97b1d2a0dc4e7..0000000000000
--- a/docs/standard/events/snippets/raise-consume/vb/project.vbproj
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- net10.0
- enable
- true
- Library
-
-
-