-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: sndshreeman
Message 3 in Discussion
hi mrinal is right that you ve to implement a struct for the same in c#.her
arec the sample for the same in c# and vb.net in vb.net Module Mod1 Dim x
As Integer = 10
Public Function xyz(ByVal i As Integer, ByVal j As Integer) As Integer
Return i + j * 10
End Function Public z As String Friend Function srt(ByVal j As
String)
MsgBox(j.ToUpper())
End Function
Private y As Integer = 20
End Module
in c# struct Mod1
{
int x = 10;
public int xyz(int i, int j)
{
return i + j * 10;
}
public string z;
internal object srt(string j)
{
MsgBox(j.ToUpper());
}
private int y = 20;
} now giving example of shared in vb.net and static in c# as you need not ve
to declare a shared var or func in vb.net module thnx
-----------------------------------------------------------
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]