Maha

Maha

  • NA
  • 0
  • 309.9k

Incomplete program

Sep 19 2012 3:28 AM
This incomplete program is given in the following website http://www.c-sharpcorner.com/UploadFile/rmcochran/csharp_memory01122006130034PM/csharp_memory.aspx. Whether it is possible to complete the program.

public class MyInt
{
        public int MyValue;

        and the following method is executing:

        public MyInt AddFive(int pValue)
        {
                MyInt result = new MyInt();
                result.MyValue = pValue + 5;
                return result;
        }
}


Answers (5)