DevPinoy.org
A Filipino Developers Community
All Tags » tips » C# (RSS)
   

Browse Blog Posts by Tags

Showing related tags and posts for the Blogs application. See all tags in the site
  • [Updated] How To: Merge Multiple Microsoft Word Documents

    "Combine. Merge. Join. Append. Concatenate. Microsoft Word Documents." A few weeks ago I wrote an article about merging word documents in C# and got great response about the article. One of the readers, Abhi, had an interesting problem. The application he wrote was throwing this error: Word...
    Posted to Keith Rull by keithrull on 06-09-2007
    Filed under: Filed under: , , , , , ,
  • Decimal data type for financial applications

    My current project uses a double data type for its values and i have raised a suggestion to convert it to decimal data type instead. I remember that it is recommended to use decimal over double for financial applications because decimal data types have greater significant digits compared to floating...
    Posted to jokiz by jokiz on 09-06-2006
    Filed under: Filed under: , , ,
  • All about @

    The @ (at) sign in .NET is used for verbatim strings. When you're tired of dealing with escape characters particularly for filenames, you make use of it: [code language="C#"] string filename = @"C:\joeycalisay\projects\" as compared to string filename = "C:\\joeycalisay\\projects\\" [/code] Do you know...
    Posted to jokiz by jokiz on 09-30-2005
    Filed under: Filed under: , ,
  • The (-) operator

    I used to multiply a numeric number to -1 just to get its additive inverse (negative value for positive numbers) and I found out that the (-) operator does it implicitly. int value = 10 int negativeValue = value * -1 int negativeValueAlso = -value
    Posted to jokiz by jokiz on 04-28-2005
    Filed under: Filed under: , , ,
  • Passing and Returning Reference Types

    I’ve read this excellent article on Arrays of Jeffrey Richter from Wintellect at MSDN here and there are a number of good points in coding, the one I love most is the section on Passing and Returning Arrays . If you always design your methods so that they return arrays with zero elements instead of null...
    Posted to jokiz by jokiz on 03-17-2005
    Filed under: Filed under: , ,
Page 1 of 1 (5 items)
Copyright DevPinoy 2005-2008