473,396 Members | 1,891 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

chr() equal function in c#?

whats that equal function vb chr() to c#?

Thanks
balakumar
Nov 15 '05 #1
2 24178
In article <03****************************@phx.gbl>, balakumar wrote:
whats that equal function vb chr() to c#?

Thanks
balakumar


char c = (char) 65;
Console.WriteLine(c);

--
Tom Shelton
MVP [Visual Basic]
Nov 15 '05 #2
In order to get convert a number to a character in c# you need use the
convert:

Convert.ToChar(myAsciiValue);

Good luck :)

Brian L. Gorman
--
"balakumar" <an*******@discussions.microsoft.com> wrote in message
news:03****************************@phx.gbl...
whats that equal function vb chr() to c#?

Thanks
balakumar

Nov 15 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Jeremy Howard | last post by:
Hello everyone, I'm not a database guru so I'm sorry if this is a dumb question but here it goes... I have this sql query that I'm trying to run against a table on a Sql 2k server: SELECT ...
2
by: alederer | last post by:
hallo! given the following table create table s2 (a_key integer, a_varchar varchar(200)) for testing i have some scripts which makes inserts of chr(0) values like insert into s2 (a_key,...
3
by: Paul Vernon | last post by:
Don't suppose anyone out there has got a function that will take an unformatted SQL query and return a nicely formatted string (with embedded tabs and carriage returns). The best I've got so far...
3
by: charliewest | last post by:
Can anyone tell me what the C# equivalent of the VB Chr() Function? I need to insert a single-byte character into a label control at run time. For example: Dim s = "Hello" + Chr(32)
0
by: Khurram | last post by:
Hi, I am using Chr(Integer) Function, to get the Character against that Number. This function I was using in VB6 Code and it was working good, but when I am trying to use it in VB.Net, it...
2
by: yawnmoth | last post by:
Obviously, "\9" equals chr(9), but what would equal chr(90)? "\90" doesn't. Rather, "\90" seems to be equal to chr(9).chr(0). So what could I do to get chr(90) using escaped numbers?
1
by: mchlle | last post by:
I have and email button on one of my forms but I want to use that code on a few more forms but don't want to copy the code on each form because any changes I make to the code will need to be...
3
by: Lewe22 | last post by:
This is a function i have written to align a series of addresses for printing labels. However, for some reason the post code (A8) is not being moved up with the other address lines. I can't for...
2
by: Joe Duchtel | last post by:
Hello - I was wondering why I can do a ... Public Const A As Char = Chr(36) .... but not a ... Public Const B As Char = Chr(165)? It seems like 0-127 are okay with the Chr(). Is this...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.