This sample is part of the step-by-step tutorial for creating .NET Core Console Applications. Please see that topic for detailed steps on the code for this sample.
This sample demonstrates a multiple source file project, adding recursion and caching previous results to the initial Fibonacci sample.
To build and run the sample, type the following command:
To build and run the sample, type the following command:
dotnet run
dotnet run
builds the sample and runs the output assembly. It implicitly calls dotnet restore
on .NET Core 2.0 and later versions. If you're using a .NET Core 1.x SDK, you first have to call dotnet restore
yourself.