-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: Gags
Message 1 in Discussion

Hi All, Here is the  IL   .method public static void  Main() cil managed
{
  .entrypoint
  .custom instance void [mscorlib]System.STAThreadAttribute::.ctor() = ( 01 00 00 00 ) 
  // Code size       41 (0x29)
  .maxstack  1
  .locals init ([0] class TestVB.A I,
           [1] string p1,
           [2] string p2,
           [3] class TestVB.A _Vb_t_ref_0)
  IL_0000:  nop
  IL_0001:  newobj     instance void TestVB.A::.ctor()
  IL_0006:  stloc.0
  IL_0007:  ldloc.0
  IL_0008:  stloc.3
  IL_0009:  ldloc.3
  IL_000a:  callvirt   instance string TestVB.A::get_p1()
  IL_000f:  stloc.1
  IL_0010:  ldloc.3
  IL_0011:  callvirt   instance string TestVB.A::get_p2()
  IL_0016:  stloc.2
  IL_0017:  ldnull
  IL_0018:  stloc.3
  IL_0019:  ldloc.0
  IL_001a:  callvirt   instance string TestVB.A::get_p1()
  IL_001f:  stloc.1
  IL_0020:  ldloc.0
  IL_0021:  callvirt   instance string TestVB.A::get_p2()
  IL_0026:  stloc.2
  IL_0027:  nop
  IL_0028:  ret
} // end of method Module1::Main This os generated by the code lines Module Module1    
 Sub Main()
        Dim I As New A()
        Dim p1, p2 As String         With I
            p1 = .p1()
            p2 = .p2()
        End With         p1 = I.p1
        p2 = I.p2
    End Sub End Module 
I  am interested in funding out whether using "With" statement does anythign 
different. Greately appreciate your comments.   Thanks
Gags


-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to