using System.ComponentModel.DataAnnotations;
namespace HelloWorldMvcApp
public class SampleViewModel
public static double[,] add(double[,] A,double[,] B) {
double[,] C = new double[m,n];
for (int i = 0; i < m; i++)
for (int j = 0; j < n; j++)
C[i,j] = A[i,j] + B[i,j];
public static double[,] subtract(double[,] A, double[,] B) {
double[,] C = new double[m,n];
for (int i = 0; i < m; i++)
for (int j = 0; j < n; j++)
C[i,j] = A[i,j] - B[i,j];
[Display(Name = "Ask Magic 8 Ball any question:")]
public string Question { get; set; }
public string Answer { get; set; }