Re: chr() .Net equivalent



"David Griffiths" <dayvg69@xxxxxxxxxxxxxxxxxx> schrieb:
I managed to complete the project removing "VB namespace" I went with the Convert.ToChar() solution.

I take onboard the arguments for keeping the VB namespace and will code accordingly for the future.

So I really hope you use 'ChrW' in future instead of 'Convert.ToChar' because it will not only save you a few keystrokes, but it will also be more efficient at runtime if a constant value is passed to 'ChrW'.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

.



Relevant Pages

  • Re: chr() .Net equivalent
    ... "David Griffiths" schrieb ... I thought I would convert an old program to use just .net, removing ... the Microsoft.Visual Basic namespace. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: One project in One directory ?
    ... "Ken Dopierala Jr." ... then they would share a namespace. ... > I answer questions in these forums and type directory...then ...
    (microsoft.public.dotnet.languages.vb)
  • Re: How do I keep shared methods on the same namespace level in different files
    ... "Mark Denardo" schrieb: ... all Classes reside in different files. ... Some of these Classes I want to convert to Shared Methods, because I don't need to instantiate them, but I still want them at the "abc.xyz" namespace level. ... Methods either belong to a type or a module, which is a special class behind the scenes too. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: send email problem
    ... "iwdu15" <jmmgoalsteratyahoodotcom> schrieb: ... i have a slight problem. ... 'System.Web.Mail' is a namespace, not a class. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Determine full name of an object at runtime.
    ... "Lance" schrieb ... > Namespace MyNameSpace ... If you pass a reference to a function, ...
    (microsoft.public.dotnet.languages.vb)