Skip to content

Commit 65544d0

Browse files
authored
Update README.md
1 parent dadcb01 commit 65544d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ double inches = meter.Inches; // 39.3701
6363
// Pass quantity types instead of values to avoid conversion mistakes and communicate intent
6464
string PrintPersonWeight(Mass weight)
6565
{
66-
// No such thing! Weight in this context is Mass, not Force.
66+
// Compile error! Newtons belong to Force, not Mass. A common source of confusion.
6767
double weightNewtons = weight.Newtons;
6868

6969
// Convert to the unit of choice - when you need it

0 commit comments

Comments
 (0)