Question
In visual basic i need to complete these two parts for the project to be completed. The first is MathFunctions.cs and the second is ArrayFunctions.cs.
In visual basic i need to complete these two parts for the project to be completed. The first is MathFunctions.cs and the second is ArrayFunctions.cs. It is all going to work with this
below is the start of the code for the Math Functions
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks;
namespace PFW.CSIST203.Project1.Functions { public class MathFunctions { private log4net.ILog logger = log4net.LogManager.GetLogger(typeof(MathFunctions)); internal static readonly string ErrorMessage = "Error";
public string Add(string input1, string input2) { // TODO: Implement throw new NotImplementedException(); }
public string Subtract(string input1, string input2) { // TODO: Implement throw new NotImplementedException(); }
public string Multiply(string input1, string input2) { // TODO: Implement throw new NotImplementedException(); }
public string Divide(string input1, string input2) { // TODO: Implement throw new NotImplementedException(); }
public string Modulus(string input1, string input2) { // TODO: Implement throw new NotImplementedException(); }
public string Power(string input1, string input2) { // TODO: Implement throw new NotImplementedException(); }
}
}
Below is the start of the ArrayFunctions
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks;
namespace PFW.CSIST203.Project1.Functions {
public class ArrayFunctions {
///
public static readonly string DefaultPersistentFile = "data.txt";
internal Random Randomizer { get; set; }
public ArrayFunctions() : this("data.txt") { }
public ArrayFunctions(string persistentFile) : this(persistentFile, null) { }
public ArrayFunctions(string persistentFile, int? seed) { // TODO: Implement }
public void Store(string[] data) { // TODO: Implement throw new NotImplementedException(); }
public string[] Load(int dataCount) { // TODO: Implement throw new NotImplementedException(); }
public string[] Randomize(string[] data) { // TODO: Implement throw new NotImplementedException(); }
public string[] ShiftRight(string[] data) { // TODO: Implement throw new NotImplementedException(); }
public string[] ShiftLeft(string[] data) { // TODO: Implement throw new NotImplementedException(); }
public string[] Reverse(string[] data) { // TODO: Implement throw new NotImplementedException(); } }
}
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started