|
|
Browse by Tags
All Tags » Tip and Trick
-
Technorati tags: .Net, C#, CRL, String, Compare, Equals, CompareTo, Intern
.Net Framework gives us several tools how to compare two strings. We can use String.Equals(), String.Compare(), StringCompareTo(), etc. What we are going to discover now it is what is the performance impact of each of this methods.
Let's first take a ...
-
Most of programmers who are dealing with ASP.NET know how to access files on the server. The common way how to do this is to use HttpContext.Current.Server.MapPath static method and get physical path of the file by passing virtual. But what if we need for instance to read some data from text file which located in our project in Design Time ...
-
During creating of Custom Controls sometimes programmers are dealing with implementation of code which should run only in Design Time mode. And the main question is, how to determine in ASP.NET whether your code is running in Design Time mode or not? I can offer several approaches for checking that. DesignMode ...
|
|
|