Boolean to Int Converter

Cerrado Publicado Jan 16, 2016 Pagado a la entrega
Cerrado Pagado a la entrega

Need a converter to change my bool \'true\' \'false\' to a \'1\' \'0\'. In my application I have a public variable Public bool isChecked { get; set; } and in my foreach statement I need to assign that variable to a value I get from user input which I take in as a true false. I need a converter to translate the true/false to 1/0 that. I can\'t just change the variable because of too many dependencies in my application and I can\'t just use [login to view URL] because I can\'t assign the bool to an int that way so I need a workaround.

.NET Programación en C#

Nº del proyecto: #9347602

Sobre el proyecto

54 propuestas Proyecto remoto Activo Feb 22, 2016

54 freelancers están ofertando un promedio de $17 por este trabajo

agilepksolutions

Hi, I’ve had a good look at your project description and I’m very interested in providing a solution. I have 4+ hands on experience on developing quality web solutions as well as desktop standalone solutions. I u Más

$24 USD en 1 día
(112 comentarios)
8.1
abugosia

A proposal has not yet been provided

$30 USD en 1 día
(153 comentarios)
6.7
vladang

Hello sir...I can make your application to work in way you want. If you are interested we can discuss more

$25 USD en 1 día
(177 comentarios)
6.9
hmshafeeq

Hi, I am interested in this task and ready to start it right now. Looking forward to hear from your side. Thanks

$10 USD en 1 día
(42 comentarios)
5.9
szymszteinsl

Ready to work !Ready to work !Ready to work !Ready to work !Ready to work !Ready to work !Ready to work !Ready to work !Ready to work !Ready to work !Ready to work !Ready to work !Ready to work !Ready to work !Ready to Más

$30 USD en 1 día
(35 comentarios)
6.2
GeorgeBouris

Here is the simplest solution to your problem: int intVariable = booleanVar ? 1 : 0; Let me know if you need further help.

$25 USD en 1 día
(8 comentarios)
5.9
AbanoubLabib92

I'm C# developer. I worked in Microsoft in AppFactory program for developing Windows 8 and Windows Phone Apps. I got here many Desktop and WPF projects. You can check my profile and if you accepted, just let me know to Más

$20 USD en 1 día
(14 comentarios)
4.8
Shafeyee

Greetings! I believe I can solve your coding problem within a day if I can debug the code for a while.

$15 USD en 1 día
(11 comentarios)
4.4
patrikszeder

Hi Sir, I don't think you should give money to anyone for this, just use this method: public static int BoolToInt(bool input){ return input ? 1 : 0; }

$10 USD en 1 día
(1 comentario)
4.4
ikhancevich

Hello. I can do it for you. Also I can make any suggestions for your code for free. Thanks.

$15 USD en 1 día
(10 comentarios)
4.2
mladenmp

A proposal has not yet been provided

$31 USD en 1 día
(16 comentarios)
4.3
muralidaran84

A proposal has not yet been provided

$10 USD en 1 día
(9 comentarios)
4.1
RKYSP

Hi, I am an individual freelance, having more than 10yrs of exp in developing applications, window & web based, using .Net (C#.Net, Asp.Net (MVC), SignalR, XML,WPF, WCF (Webservices) kendo ui, Angular JS, MySQL and Más

$10 USD en 1 día
(19 comentarios)
4.2
zabolotniipavel

Hi, My name is Pavel and I have Master Degree in Computer Science.I have a great experience in C# . All of the my employees are satisfied with the quality and speed of my work. See my profile to be sure of this. ht Más

$10 USD en 1 día
(9 comentarios)
3.7
KERConsultancy

-- Your issue is very simple , it's just data type conversion and you will not need to change your code anywhere else. -- I can fix it real quick. -- its just like Boolean Result = Convertdata(data); MY INTRODUCTI Más

$10 USD en 0 días
(5 comentarios)
3.6
singharun171287

HI I HAVE AN EXP. IN C# .net OF MORE THEN 5 YEAR I CAN DO YOUR TASK PM ME WITH ALL RELATIVE DETAILS I M WAITING FOR YOUR REPLY THANK YOU

$25 USD en 1 día
(8 comentarios)
3.2
kagezero

Can't you just insert an if statement? I mean if the user value is true assign it to 1 if it's false assign it to 0. if(true){ var = 1} else { var = 0} well maybe i have understood it wrong dont know

$25 USD en 1 día
(4 comentarios)
3.3
umarefarooq

static int ConvertToInt(bool input) { return input ? 1 : 0; } This is one of the possibilities of solving. we can also work with getters and setters. Hi, I am proficient C# .NET devel Más

$10 USD en 1 día
(4 comentarios)
2.7
durga27han15

We're good in developing .Net based applications, have good track records so far in winning customer satisfaction 100%.

$10 USD en 1 día
(1 comentario)
2.7
nchandruk83

is it window or wpf please mension that one? it's lmportant ues value convertor interface...

$25 USD en 1 día
(3 comentarios)
2.6