- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re:
Hi Experts, I am getting an exception "Attempted to read or write protected memory. This is often an indication that other memory is corrupt." This exception is occuring in VS2010 and method is [B]Marshal.Copy(address, code, 0, 32);[/B] Can you any one help in this regard. Thanks |
|
Re:
[CODE] namespace ConsoleApplication8 { class Program { static void Main(string[] args) { Person p1 = new Student(); p1.Sing(); p1.Run(); Console.WriteLine(p1.GetType().Name); Console.Read(); } } class Person { public void Run() { Console.WriteLine("Person Run"); } public virtual void Sing() { Console.WriteLine("Person Sing"); } } class Student : Person { public void Run() … |
|
Re:
i learned earlier how to move between two forms back and forth. but what if there are more forms? this is my code for form1: [CODE]Form2 form2 = new Form2(); private void aboutoldtrafford_MouseClick(object sender, MouseEventArgs e) { this.Hide(); form2.ShowDialog(); this.Show(); } [/CODE] when i click the button I can go … |
|
Re:
Please help me with the code to find the most repeated number in an array. The code below is not working perfectly. int p =o; int[,] numbers = {{1, 2, 0, 6 }, {5, 6, 7, 0 }, {9, 3, 6, 2 }, {6, 4, 8, 1}}; int []A = … |