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 {

///

/// The persistent file used to load and store data when the Store() and Load() methods are utilized /// /// internal string PersistentFile { get; set; }

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!