diff --git a/snippets/cpp/VS_Snippets_CLR/MathSample/CPP/mathsample.cpp b/snippets/cpp/VS_Snippets_CLR/MathSample/CPP/mathsample.cpp index 9fbb4302cf0..b71de67675c 100644 --- a/snippets/cpp/VS_Snippets_CLR/MathSample/CPP/mathsample.cpp +++ b/snippets/cpp/VS_Snippets_CLR/MathSample/CPP/mathsample.cpp @@ -83,6 +83,6 @@ int main() double dxD = trpz->GetLeftBaseDegreeAngle(); Console::WriteLine( "Trapezoid left base angle is: {0} Degrees", dxD.ToString() ); double dyD = trpz->GetRightBaseDegreeAngle(); - Console::WriteLine( "Trapezoid left base angle is: {0} Degrees", dyD.ToString() ); + Console::WriteLine( "Trapezoid right base angle is: {0} Degrees", dyD.ToString() ); } // diff --git a/snippets/csharp/System/Math/Overview/mathsample.cs b/snippets/csharp/System/Math/Overview/mathsample.cs index 29eda1a4455..b8fdb53179e 100644 --- a/snippets/csharp/System/Math/Overview/mathsample.cs +++ b/snippets/csharp/System/Math/Overview/mathsample.cs @@ -75,7 +75,7 @@ static void Main(string[] args) double dxD = trpz.GetLeftBaseDegreeAngle(); Console.WriteLine("Trapezoid left base angle is: " + dxD.ToString() + " Degrees"); double dyD = trpz.GetRightBaseDegreeAngle(); - Console.WriteLine("Trapezoid left base angle is: " + dyD.ToString() + " Degrees"); + Console.WriteLine("Trapezoid right base angle is: " + dyD.ToString() + " Degrees"); } } } diff --git a/snippets/fsharp/System/Math/Overview/mathsample.fs b/snippets/fsharp/System/Math/Overview/mathsample.fs index fff3c13d9de..6c2a46d1ac1 100644 --- a/snippets/fsharp/System/Math/Overview/mathsample.fs +++ b/snippets/fsharp/System/Math/Overview/mathsample.fs @@ -41,5 +41,5 @@ printfn $"Trapezoid right base angle is: {dyR} Radians" let dxD = trpz.GetLeftBaseDegreeAngle() printfn $"Trapezoid left base angle is: {dxD} Degrees" let dyD = trpz.GetRightBaseDegreeAngle() -printfn $"Trapezoid left base angle is: {dyD} Degrees" -// \ No newline at end of file +printfn $"Trapezoid right base angle is: {dyD} Degrees" +// diff --git a/snippets/visualbasic/VS_Snippets_CLR/MathSample/VB/Project.vbproj b/snippets/visualbasic/VS_Snippets_CLR/MathSample/VB/Project.vbproj new file mode 100644 index 00000000000..92e46ddaccf --- /dev/null +++ b/snippets/visualbasic/VS_Snippets_CLR/MathSample/VB/Project.vbproj @@ -0,0 +1,8 @@ + + + + Exe + net9.0 + + + diff --git a/snippets/visualbasic/VS_Snippets_CLR/MathSample/VB/mathsample.vb b/snippets/visualbasic/VS_Snippets_CLR/MathSample/VB/mathsample.vb index b0fe970222a..50b3ef04ea1 100644 --- a/snippets/visualbasic/VS_Snippets_CLR/MathSample/VB/mathsample.vb +++ b/snippets/visualbasic/VS_Snippets_CLR/MathSample/VB/mathsample.vb @@ -60,7 +60,7 @@ Class MathTrapezoidSample Dim dxD As Double = trpz.GetLeftBaseDegreeAngle() Console.WriteLine("Trapezoid left base angle is: " + dxD.ToString() + " Degrees") Dim dyD As Double = trpz.GetRightBaseDegreeAngle() - Console.WriteLine("Trapezoid left base angle is: " + dyD.ToString() + " Degrees") + Console.WriteLine("Trapezoid right base angle is: " + dyD.ToString() + " Degrees") End Sub End Class '