vb.net - IsNothing versus Is Nothing

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…


What PL/SQL Libraries For Auto-Generating JSON Do You Recommend?

Are there any good PL/SQL libraries for JSON that you've worked with and found useful? In PL/SQL, I'm having to tediously hand code the return of JSON values to JavaScript functions. I found one PL/S…


Does the DOCTYPE declaration have to be the first tag in an HTML document?

This question already has an answer here: Can comments appear before the DOCTYPE declaration? 5 answers Our security manager dynamically inserts a bit of j…


Fastest way to see how many bytes are equal between fixed length arrays

I have 2 arrays of 16 elements(chars) that I need to "compare" and see how many elements are equal between the two. This routine is going to be used millions of times(a usual run is about 60 or 70…


Forcing single-argument constructors to be explicit in C++?

By default, in C++, a single-argument constructor can be used as an implicit conversion operator. This can be suppressed by marking the constructor as explicit. I'd prefer to make "explicit" be the d…


c++ - Can you use keyword explicit to prevent automatic conversion of method parameters?

I know you can use C++ keyword 'explicit' for constructors of classes to prevent an automatic conversion of type. Can you use this same command to prevent the conversion of parameters for a class me…


'CONTINUE' keyword in Oracle 10g PL/SQL

I'm migrating a TSQL stored procedure to PL/SQL and have encountered a problem-the lack of a CONTINUE keyword in Oracle 10g. I've read that Oracle 11g has this as a new feature, but upgrading is not…


c# - How to convert ArrayList to an array of structure?

Here I have: Public Structure MyStruct Public Name as String Public Content as String End Structure Dim oStruct as MyStruct=New MyStruct() oStruct.Name=... oStruct.Content=... Dim alLis…


Where is the itoa function in Linux?

itoa() is a really handy function to convert a number to a string. Linux does not seem to have itoa(), is there an equivalent function or do I have to use sprintf(str, "%d", num)?…



Variable declaration in a C# switch statement

Why is it that in a C# switch statement, for a variable used in multiple cases, you only declare it in the first case? For example, the following throws the error "A local variable named 'variable' is…




not scope this the was variable example error function class