File tree Expand file tree Collapse file tree 5 files changed +13
-5
lines changed
cpp/VS_Snippets_CLR/MathSample/CPP
csharp/System/Math/Overview
fsharp/System/Math/Overview
visualbasic/VS_Snippets_CLR/MathSample/VB Expand file tree Collapse file tree 5 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,6 @@ int main()
8383 double dxD = trpz->GetLeftBaseDegreeAngle ();
8484 Console::WriteLine ( " Trapezoid left base angle is: {0} Degrees" , dxD.ToString () );
8585 double dyD = trpz->GetRightBaseDegreeAngle ();
86- Console::WriteLine ( " Trapezoid left base angle is: {0} Degrees" , dyD.ToString () );
86+ Console::WriteLine ( " Trapezoid right base angle is: {0} Degrees" , dyD.ToString () );
8787}
8888// </snippet1>
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ static void Main(string[] args)
7575 double dxD = trpz . GetLeftBaseDegreeAngle ( ) ;
7676 Console . WriteLine ( "Trapezoid left base angle is: " + dxD . ToString ( ) + " Degrees" ) ;
7777 double dyD = trpz . GetRightBaseDegreeAngle ( ) ;
78- Console . WriteLine ( "Trapezoid left base angle is: " + dyD . ToString ( ) + " Degrees" ) ;
78+ Console . WriteLine ( "Trapezoid right base angle is: " + dyD . ToString ( ) + " Degrees" ) ;
7979 }
8080 }
8181}
Original file line number Diff line number Diff line change @@ -41,5 +41,5 @@ printfn $"Trapezoid right base angle is: {dyR} Radians"
4141let dxD = trpz.GetLeftBaseDegreeAngle()
4242printfn $" Trapezoid left base angle is: {dxD} Degrees"
4343let dyD = trpz.GetRightBaseDegreeAngle()
44- printfn $" Trapezoid left base angle is: {dyD} Degrees"
45- // </snippet1>
44+ printfn $" Trapezoid right base angle is: {dyD} Degrees"
45+ // </snippet1>
Original file line number Diff line number Diff line change 1+ <Project Sdk =" Microsoft.NET.Sdk" >
2+
3+ <PropertyGroup >
4+ <OutputType >Exe</OutputType >
5+ <TargetFramework >net9.0</TargetFramework >
6+ </PropertyGroup >
7+
8+ </Project >
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ Class MathTrapezoidSample
6060 Dim dxD As Double = trpz.GetLeftBaseDegreeAngle()
6161 Console.WriteLine( "Trapezoid left base angle is: " + dxD.ToString() + " Degrees" )
6262 Dim dyD As Double = trpz.GetRightBaseDegreeAngle()
63- Console.WriteLine( "Trapezoid left base angle is: " + dyD.ToString() + " Degrees" )
63+ Console.WriteLine( "Trapezoid right base angle is: " + dyD.ToString() + " Degrees" )
6464 End Sub
6565End Class
6666' </Snippet1>
You can’t perform that action at this time.
0 commit comments