How do I start another program from .NET?
Process.Start
Application.Start
Process.Run
Application.Run
How do I get the rightmost part of a string?
str.Substring(str.Length);
str.Substring(str.Length - 1);
str.LastChar();
str.RightChar();
Which of the following code will return the account on which ASP.NET is running?
Account.Username
User.Name
Page.Username
Environment.Username
How can we get Current Page URL in ASP.NET?
Request.Url.FullURL;
Request.PageUrl;
Request.Url.AbsoluteUri;
Request.Page.URL;
How do enable output cache for an ASP.Net page?
Whats the top .NET class that everything is derived from?
System.Object
System.Page
System.Web
System.Namespace
Can you store multiple data types in System.Array?
True
False
Is it possible to add object in ViewState in .NET?
Not Possible
Always Possible
Only If object have Serializable feature or have TypeConverter option
Only if object is an String
What is the default port for Http?
8081
80
7071
500
How can we maintain the page scroll position after postback?
Set PositionOnPostback as true in Page directive
Set MaintainScrollPositionOnPostback as true in Page directive
Set ViewState as true in Page directive