Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Translation C# to VB.NET

4 views
Skip to first unread message

dwm

unread,
Feb 5, 2009, 5:50:43 PM2/5/09
to
Not sure where to post this question - C# or VB.NET - so I'm posting here.

Should be simple for those familiar with C#.

in C#:

xs = new XmlSerializer(typeof(LogStrResponse));

What is the equivalent statement in vb.net?

More specifically, I'm not sure how to replace the 'typeof' function call.

Thanks in advance

Karl E. Peterson

unread,
Feb 5, 2009, 6:28:40 PM2/5/09
to
dwm wrote:
> Not sure where to post this question - C# or VB.NET - so I'm posting here.

Well, this being a ClassicVB group, you'd definitely be better off going somewhere
else - preferably, somewhere with *.dotnet.* in its name.
--
.NET: It's About Trust!
http://vfred.mvps.org


Petr Matějovský

unread,
Feb 24, 2009, 4:41:45 PM2/24/09
to

vb.net :
xs = New XmlSerializer(GetType(LogStrResponse))

Petr Matejovsky


dwm napsal(a):

> From - Tue
>

0 new messages