Find Jobs
Hire Freelancers

Cleanup c# code to read in a very simple data file

$10-30 USD

Completato
Pubblicato più di 7 anni fa

$10-30 USD

Pagato al completamento
I have some c# code I am looking to have cleaned up / simplified. All this code needs to do is read some values into a a simple data structure. Looking for best practice on naming conventions etc. Data file attached. public struct defbulk { public string Description; public float Density; public float Repose; public float Abrasive; public static defbulk CreateInstance() { defbulk result = new defbulk(); [login to view URL] = [login to view URL]; return result; } } internal static void LoadMaterial() { int i = 0, count = 0; string a = ""; try { [login to view URL](1, [login to view URL]([login to view URL]) + "\\[login to view URL]", [login to view URL], [login to view URL], [login to view URL], -1); [login to view URL](1, ref count); bulk = new defbulk[count]; [login to view URL] = new string[count]; for (i = 0; i < count; i++) { [login to view URL](1, ref bulk[i].Description); [login to view URL](1, ref a); bulk[i].Density = (float) [login to view URL](a); [login to view URL](1, ref a); bulk[i].Repose = (float) [login to view URL](a); } [login to view URL](1); } catch { string msg = ""; msg = [login to view URL]([login to view URL]) + "\\[login to view URL]" + " could not be found or is corrupt. This must be corrected for the program to load. Please contact HT for assistance."; [login to view URL](msg, [login to view URL]); [login to view URL](0); } }
Rif. progetto: 11891088

Info sul progetto

12 proposte
Progetto a distanza
Attivo 7 anni fa

Hai voglia di guadagnare un po'?

I vantaggi delle offerte su Freelancer

Imposta il tuo budget e le scadenze
Fatti pagare per il lavoro svolto
Delinea la tua proposta
La registrazione e le offerte sui lavori sono gratuite
Assegnato a:
Avatar dell'utente
I have over than five years experience with code engineering and development support, specially working with file management. If you allow me, I can deliver exactly what you expect.
$15 USD in 1 giorno
5,0 (1 valutazione)
0,4
0,4
12 freelance hanno fatto un'offerta media di $24 USD
Avatar dell'utente
Sr. Software Developer having 7 years experience. Sr. Software Developer having 7 years experience. Sr. Software Developer having 7 years experience. Sr. Software Developer having 7 years experience.
$66 USD in 3 giorni
4,9 (42 valutazioni)
5,9
5,9
Avatar dell'utente
Hello, I'm interested to work on this. please message me. Thanks
$15 USD in 1 giorno
4,9 (63 valutazioni)
5,7
5,7
Avatar dell'utente
Hi sir I am Hasan Jack and I have more than 5 years of experience in C# Development. As because of my prior experience I really feel I can be best choice for this job. Looking forward to hear from you. Regards, Hasan Jack
$15 USD in 1 giorno
4,7 (6 valutazioni)
4,2
4,2
Avatar dell'utente
A proposal has not yet been provided
$30 USD in 1 giorno
5,0 (14 valutazioni)
4,0
4,0
Avatar dell'utente
Hi, I'm a C# developer you can see some of my work no my profile. I can do this job right now. If you select me I'll write you a very clean and commented code. Let's start if you wish :)
$20 USD in 0 giorno
0,0 (0 valutazioni)
0,0
0,0

Info sul cliente

Bandiera: UNITED STATES
Bonita Springs, United States
5,0
143
Metodo di pagamento verificato
Membro dal ott 25, 2004

Verifica del cliente

Grazie! Ti abbiamo inviato tramite email il link per richiedere il tuo bonus gratuito.
Non è stato possibile inviarti l'email. Riprova per piacere.
di utenti registrati di lavori pubblicati
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Caricamento anteprima
Autorizzazione per la geolocalizzazione concessa.
La tua sessione è scaduta ed è stato effettuato il log out. Accedi nuovamente per piacere.