You could always add a reference to Microsoft.VisualBasic and then use the exact same methods: Strings.Chr and Strings.Asc.
That’s the easiest way to get the exact same functionality.
More Related Contents:
- How to enable assembly bind failure logging (Fusion) in .NET
- How can I add user-supplied input to an SQL statement?
- Why is Dictionary preferred over Hashtable in C#?
- ObservableCollection Doesn’t support AddRange method, so I get notified for each item added, besides what about INotifyCollectionChanging?
- How can you strip non-ASCII characters from a string? (in C#)
- How can I read a file even when getting an “in use by another process” exception?
- How to solve COM Exception Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))?
- Measuring code execution time
- How to fix a opacity bug with DrawToBitmap on WebBrowser Control?
- Bind to SelectedItems from DataGrid or ListBox in MVVM
- How do I get my C# program to sleep for 50 msec?
- Why use String.Format? [duplicate]
- .NET Integer vs Int16?
- Is there any way to embed power bi reports and dashboards in vb.net or C# desktop application with sql server 2008 database?
- Checking file/folder access permission
- Equivalence of “With…End With” in C#? [duplicate]
- User Activity Logging, Telemetry (and Variables in Global Exception Handlers)
- Event Signature in .NET — Using a Strong Typed ‘Sender’? [closed]
- return only Digits 0-9 from a String
- How do I get the currently loggedin Windows account from an ASP.NET page?
- Finding all Namespaces in an assembly using Reflection (DotNET)
- Convert DateTime to a specified Format
- C# hex to ascii
- MS Chart Rectangular Annotation width in percent and not pixel
- Consume a SOAP web service without relying on the app.config
- What do ref, val and out mean on method parameters?
- ASCIIEncoding In Windows Phone 7
- How does the “Using” statement translate from C# to VB?
- Objects implicitly instantiated in vb.net?
- Lost Focus method for asp.net textbox?