Find Jobs
Hire Freelancers

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

$10-30 USD

Đã hoàn thành
Đã đăng vào hơn 7 năm trước

$10-30 USD

Thanh toán khi bàn giao
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); } }
Mã dự án: 11891088

Về dự án

12 đề xuất
Dự án từ xa
Hoạt động 8 năm trước

Bạn muốn kiếm tiền?

Lợi ích khi chào giá trên Freelancer

Thiết lập ngân sách và thời gian
Nhận thanh toán cho công việc
Phác thảo đề xuất của bạn
Miễn phí đăng ký và cháo giá cho công việc
Đã trao cho:
Avatar người dùng
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 trong 1 ngày
5,0 (1 nhận xét)
0,4
0,4
12 freelancer chào giá trung bình $24 USD cho công việc này
Avatar người dùng
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 trong 3 ngày
4,9 (42 nhận xét)
5,9
5,9
Avatar người dùng
Hello, I'm interested to work on this. please message me. Thanks
$15 USD trong 1 ngày
4,9 (63 nhận xét)
5,7
5,7
Avatar người dùng
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 trong 1 ngày
4,7 (6 nhận xét)
4,2
4,2
Avatar người dùng
A proposal has not yet been provided
$30 USD trong 1 ngày
5,0 (14 nhận xét)
4,0
4,0
Avatar người dùng
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 trong 0 ngày
0,0 (0 nhận xét)
0,0
0,0

Về khách hàng

Cờ của UNITED STATES
Bonita Springs, United States
5,0
143
Phương thức thanh toán đã xác thực
Thành viên từ thg 10 25, 2004

Xác thực khách hàng

Cảm ơn bạn! Chúng tôi đã gửi email chứa đường link để bạn lấy tín dụng miễn phí.
Đã xảy ra lỗi trong khi gửi email của bạn. Hãy thử lại.
Người Dùng Đã Đăng Ký Tổng Số Việc Đã Đăng
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Đang tải xem trước
Đã cấp quyền truy cập vị trí.
Phiên đăng nhập của bạn đã hết hạn và bạn đã bị đăng xuất. Hãy đăng nhập lại.