Equivalence Of "With...End With" In C#?

Jun 30, 2009

I know that c# has using element....but as you know, using disposes object automatically...
clearly, I want the equivalence of with......end with in vb6.0?

View 8 Replies


ADVERTISEMENT

Equivalence Code For C# Or .net To StringUtils.remove?

Mar 1, 2009

Is there any equivallance code for c# or vb.net to StringUtils.remove?

Note: one is able to use StringUtils.remove in Java.

View 2 Replies

DB/Reporting :: How To Proceed With Converting The Following Module To .net Equivalence

Dec 1, 2010

I am new to vb .net and I have been writing simple programs in VB4(16 bit) and now I have to convert a particular program to VB .Net. I have never really used the Crystal report in vb to write my reports and I am really lost as to how to proceed with converting the following module to .net equivalence.

[Code]...

View 1 Replies

Equivalence Of ListBox Popup To Show MessageBox

Mar 3, 2011

I know that
message.show.add
Displays a message box pop up. How do you go about creating a listbox pop-up similar to the message box pop-up? What is the listbox code equivalent to the above code?

View 1 Replies

Microsoft.VisualBasic.FileIO.FileSystem Equivalence In C#?

Apr 6, 2011

I use VS 2008, .net 3.5, C# projects. I need do the same functionally like Microsoft.VisualBasic.FileIO.File System.DeleteDirectory. Anyone says referencing the Microsoft.VisualBasic is often undesirable from within C#. Any association with VB from within C# code strikes me as undesirable. Using FileSystem class, this is a perfectly fine solution, but I prefer not references Microsoft.VisualBasic library. That one I would avoid.

[code]...

View 4 Replies

C# :: Determining Object Equivalence For Value Types, Reference Types And ILists?

Nov 1, 2009

I have a class with a Property called 'Value' which is of type Object.Value can be of any type, a structure, a class, an array, IList etc.My problem is with the setter and determining whether the value has changed or not.This is simple enough for value types, but reference types and lists present a problem.For a class, would you assume that the Equals method has been implemented correctly, or just assume that the value has changed every time the setter is called?If I did assume it's changed, then perhaps I should assume it for value types as well, so that the behaviour is consistent.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved