Can someone explain what does it mean by saying that "but it doesn’t pass the value
3 to its caller."
Not every method returns a value.
Console.WriteLine(), for example, prints
3to the console but it doesn’t pass the value
3to its caller. If you’re not sure what a method returns you can always check the Microsoft documentation.