“~” means in asp.net application?

Answers were Sorted based on User's Feedback



“~” means in asp.net application?..

Answer / lakshmikanth

~ is used to call destructor also

Is This Answer Correct ?    9 Yes 1 No

“~” means in asp.net application?..

Answer / s. verma

Absolute paths are not portable between applications. If you
move the application that the absolute path points to, the
links will break.
Relative paths in the style of client elements can be
difficult to maintain if you move resources or pages to
different folders.
To overcome these disadvantages, ASP.NET makes available the
Web application root operator (~), which you can use when
specifying a path in server controls. ASP.NET resolves the ~
operator to the root of the current application. You can use
the ~ operator in conjunction with folders to specify a path
that is based on the current root.

Is This Answer Correct ?    7 Yes 0 No

“~” means in asp.net application?..

Answer / anjani

"~" is used to represent the current application folder in asp.net

Is This Answer Correct ?    6 Yes 0 No

“~” means in asp.net application?..

Answer / harender

good

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More ASP.NET Interview Questions

How Clustered Index and Non clustered index stored on SQL server?

2 Answers   TCS,


what is postback implementation?when pre-render event n init event is fired?

2 Answers   Ness Technologies,


Describe how passport authentication works.

0 Answers  


What is pre-init event in ASP.NET 2.0 page life cycle?

2 Answers   Fulcrum Logic,


How to create events for a control?

0 Answers  


When do you set "<IDENTITY impersonate="true" />" ?

1 Answers  


How do you install windows service?

4 Answers   Tech Mahindra,


Is there any limit for query string? Means what is the maximum size?

0 Answers  


What command line used to generate Runtime callable wrapper.

2 Answers   CTS,


What are type/key pairs in client script registration?

0 Answers  


What symbol would you use to denote, the start of a code block in aspx views?

0 Answers   NA,


What are the different authentication modes in the .NET environment?

2 Answers   Veritas,


Categories