empty (5,666)


c# - Most Efficient Way to Test Object Type

c# - Most Efficient Way to Test Object Type

I have values stored as strings in a DataTable where each value could really represent an int, double, or string(they were all converted to strings during an import process from an external data sou…


vb.net - IsNothing versus Is Nothing

Does anyone here use VB.NET and have a strong preference for or against using IsNothing as opposed to Is Nothing(for example, If IsNothing(anObject) or If anObject Is Nothing...)? If so, why? EDIT: If…


algorithm - Puzzle: Find largest rectangle(maximal rectangle problem)

What's the most efficient algorithm to find the rectangle with the largest area which will fit in the empty space? Let's say the screen looks like this('#' represents filled area):....................…


Difference between NULL and null in PHP

Is there a difference between NULL and null in PHP? Sometimes they seem to be interchangeable and sometimes not. edit: for some reason when I read the documentation linked to in the answer(before pos…


Use for the phppgadmin Reports Database?

Phppgadmin comes with instructions for creating a reports database on the system for use with phppgadmin. The instructions describe how to set it up, but do not really give any indication of what its…


Checking for string contents? string Length Vs Empty String

Which is more efficient for the compiler and the best practice for checking whether a string is blank? Checking whether the length of the string== 0 Checking whether the string is empty(strVar==…



How can I determine the type of a blessed reference in Perl?

In Perl, an object is just a reference to any of the basic Perl data types that has been blessed into a particular class. When you use the ref() function on an unblessed reference, you are told what…


c# - How do you place a file in recycle bin instead of delete?

Programmatic solution of course...…


c++ - How do you clear a stringstream variable?

I've tried several things already, std::stringstream m; m.empty(); m.clear(); both of which don't work.…


In SQL Server, how do I generate a CREATE TABLE statement for a given table?

I've spent a good amount of time coming up with solution to this problem, so in the spirit of this post,I'm posting it here, since I think it might be useful to others. If anyone has a better script,…




not how check null string array value list from with