3 Comments

Show comments on view page


Allow new comments to be posted


Notify me of new comments via email

srilakshmi
Jul 22, 2011 - 6:04 AM

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TestApp1
{
class Test
{
int x = 100;
void Print()
{
Console.WriteLine(x);
}
static void main()
{
Test obj = new Test();
obj.Print();
Console.ReadKey();
}
}
}

srilakshmi
Jul 22, 2011 - 6:11 AM

am type above program ,in the starup object the class names are not shown in popup window of startup object, thats why the command prompt window is just open and closed, the result is not shown,how am i get the result for the above program.

HARISHA CHIGURUPATI
May 18, 2013 - 9:24 AM

even if there are 2 main methods in my project . when i click on start up object only one program name is being displayed. But 2 programs are having main methods. can u please tell me why??


Post a Comment
Name:
Email:
(Will not be displayed)
Comment:
1000 characters remaining (No HTML)



Content:
Image (png) - 46.51KB
Title: 2010-12-10_01-15-01.png
Share URL:
Copy and paste this URL to share content with viewers. For example, paste into email or instant messages.

Embed on your page:
Copy and paste this HTML to embed this content into a web page or blog.



px   px    reset