Datatypes in C

0 votes

I'm working on a C# application right now. On this form, I have three fields. I'm not sure which datatype would be best for them. Some assistance will be greatly appreciated.

a: length of this field is 30 and it should be a positive integer
b: length of this field is 15 and it should be a decimal allowed positive number
c: length of this field is 15 and it should be a decimal allowed unsigned number

Also, what datatype should be used for the following:

a*b
a*c
b*c
Jun 9 in C# by pranav
• 2,580 points
18 views

1 answer to this question.

0 votes
You might be beginner I think. Go to this link https://docs.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-2008/cs7y5x0x(v=vs.90)?redirectedfrom=MSDN

It is not that difficult to find out the answer
answered Jun 9 by rajiv
• 1,620 points

Related Questions In C#

0 votes
1 answer

Examples of dynamic polymorphism in c#

Check the example of polymorphism below. We ...READ MORE

answered Jun 7 in C# by pranav
• 2,580 points
33 views
0 votes
1 answer

Print Pdf in C#

Using an installed Adobe Reader or any ...READ MORE

answered Jun 7 in C# by pranav
• 2,580 points
29 views
0 votes
1 answer

Why should I avoid using Properties in C#?

Jeff dislikes properties because they resemble fields, ...READ MORE

answered Jun 7 in C# by rajiv
• 1,620 points
33 views
0 votes
1 answer

Multiple Inheritance in C#

The.net Framework CLR and C# hasn't been ...READ MORE

answered Jun 7 in C# by rajiv
• 1,620 points
28 views
0 votes
0 answers

String was not recognized as a valid DateTime " format dd/MM/yyyy"

I want to convert my string formatted ...READ MORE

May 1 in Other DevOps Questions by Kichu
• 19,040 points
197 views
0 votes
1 answer

Why isn't Array a generic type

They basically copied the concept of arrays ...READ MORE

answered Jun 21 in C# by jyoti
• 1,240 points
13 views
0 votes
1 answer

What is cool about generics, why use them

Okay. For simplification, I am listing it ...READ MORE

answered Jun 23 in C# by krishna
• 2,540 points
15 views
0 votes
3 answers

Trying to upload files using Selenium(C#)

You can try using Javascript Executor to ...READ MORE

answered Aug 23, 2019 in Selenium by Abha
• 28,120 points
4,514 views
0 votes
1 answer

What are the differences between C, C# and C++ in terms of real-world applications?

C is a bare-bones, straightforward, and clean ...READ MORE

answered May 30 in C# by rajiv
• 1,620 points
30 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP