Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 27 additions & 4 deletions Program.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using MathLibrary; // Importing Math Library
// Changes in

namespace MathApplication
{
Expand All @@ -14,11 +13,9 @@ static void Main(string[] args)
// Declare variables and use methods from MathLibrary
float substract = math.Substract(5, 2);
float multiply = math.Multiply(5, 2);
float divide = math.Divide(5, 2);
float divide = math.Devide(5, 2);
float power = math.Power(5);

Console.WriteLine("This Application uses functions from MathLibrary.dll todo simple calculations");

// Print results on screen
Console.WriteLine(substract);
Console.WriteLine(multiply);
Expand All @@ -28,4 +25,30 @@ static void Main(string[] args)
Console.ReadLine();
}
}

class AnotherClass
{
public void Print()
{
Console.WriteLine("hello");
}
}

class AndAnotherClass
{
public void Print()
{
// Pull Request
Console.WriteLine("hello");
Console.WriteLine("wow!");
Console.WriteLine("wow!");
Console.WriteLine("wow!");
Console.WriteLine("hello");
Console.WriteLine("wow!");
Console.WriteLine("wow!");
Console.WriteLine("wow!");
Console.WriteLine("wow!");
Console.WriteLine("wow!");
}
}
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ The code is divided into individual repositories.

[SampleLibrary](https://github.com/houghj16/SampleLibrary) | Contains some sample code to define a math library

To try out the scenario, download and extract [this zip]()
To try out the scenario, download and extract [this zip](/SampleWebApp.zip)
Binary file added SampleWebApp.zip
Binary file not shown.