Top "Using" questions

"using" is a keyword in some programming languages (C++, C#, VB.

Get checkbox status using javascript

This is my checkbox HTML code <input id="termsCheckbox" name="termsCheckbox" type="checkbox" value="terms" <?PHP echo $terms; ?&…

javascript checkbox using status
Manually destroy C# objects

I am fairly new to learning C# (from Java & C++ background) and I have a question about manual garbage …

c# destructor idisposable using
using statement FileStream and / or StreamReader - Visual Studio 2012 Warnings

The new Visual Studio 2012 is complaining about a common code combination I have always used. I know it seems like …

c# .net dispose using visual-studio-2012
WCF Errors using WCFTestClient to test a simple WCF Web Service

When I try to test the AutoLotWCFService using "wcftestclient", I get the following error. What am I doing wrong? Any …

wcf using wcftestclient
Why "using namespace X;" is not allowed inside class/struct level?

class C { using namespace std; // error }; namespace N { using namespace std; // ok } int main () { using namespace std; // ok } Edit: Want …

c++ namespaces using language-lawyer
C# using statement catch error

I am just looking at the using statement, I have always known what it does but until now not tried …

c# using using-statement
How do I use the C#6 "Using static" feature?

I'm having a look at a couple of the new features in C# 6, specifically, "using static". using static is a …

c# visual-studio-2015 static using c#-6.0
Why should you remove unnecessary C# using directives?

For example, I rarely need: using System.Text; but it's always there by default. I assume the application will use …

c# assemblies using
How to use EXECUTE FORMAT ... USING in postgres function

CREATE OR REPLACE FUNCTION dummytest_insert_trigger() RETURNS trigger AS $BODY$ DECLARE v_partition_name VARCHAR(32); BEGIN IF NEW.datetime …

postgresql format execute using
Does Stream.Dispose always call Stream.Close (and Stream.Flush)

If I have the following situation: StreamWriter MySW = null; try { Stream MyStream = new FileStream("asdf.txt"); MySW = new StreamWriter(MyStream); …

c# .net using