Find Jobs
Hire Freelancers

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

$10-30 USD

Terminado
Publicado hace más de 7 años

$10-30 USD

Pagado a la entrega
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); } }
ID del proyecto: 11891088

Información sobre el proyecto

12 propuestas
Proyecto remoto
Activo hace 7 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
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 en 1 día
5,0 (1 comentario)
0,4
0,4
12 freelancers están ofertando un promedio de $24 USD por este trabajo
Avatar del usuario
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 en 3 días
4,9 (42 comentarios)
5,9
5,9
Avatar del usuario
Hello, I'm interested to work on this. please message me. Thanks
$15 USD en 1 día
4,9 (63 comentarios)
5,7
5,7
Avatar del usuario
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 en 1 día
4,7 (6 comentarios)
4,2
4,2
Avatar del usuario
A proposal has not yet been provided
$30 USD en 1 día
5,0 (14 comentarios)
4,0
4,0
Avatar del usuario
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 en 0 día
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
Bonita Springs, United States
5,0
143
Forma de pago verificada
Miembro desde oct 25, 2004

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.