DotNetStyling

Welcome to DotNetStyling Sign in | Join | Help
in Search

Browse by Tags

All Tags » .NET » Tip and Trick
  • Optimal String Comparison

    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 ...
    Posted to DotNetStyling - .Net World by Armen Ayvazyan (Weblog) by admin on října 4, 2007
  • .NET 2.0. Access file in Design Time mode.

    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 ...
    Posted to DotNetStyling - .Net World by Armen Ayvazyan (Weblog) by admin on dubna 9, 2007
  • How to determine Design Time mode in ASP.NET

      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 ...
    Posted to DotNetStyling - .Net World by Armen Ayvazyan (Weblog) by admin on dubna 3, 2007
Powered by Community Server (Personal Edition), by Telligent Systems