In Progress

Attribute Reflection

I have a bunch of string properties in a class that I would like to create a custom attribute called MaxLength that will contain the maximum length (not the actual length) for the string.

The coder will do the following:

1. Create a customer class with a first name, last name, and CustomerID property.

2. Explain how to create custom attributes for a property. The coder will give an example in VB.NET and C#.

3. Give the first name property an attribute with a maxlength of 30, and the last name property an attribute with a maxlength of 40. The CustomerID property will have no attribute.

4. Using reflection, the coder will loop through all the properties of the class, do a [url removed, login to view] of the property name, and do a [url removed, login to view] of the attributes. When there are no attributes, write out "No attributes"

Thanks for bidding.

Greg

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

VB.NET, C#, Visual Studio 2005

Skills: .NET, C# Programming, Engineering, MySQL, PHP, Software Architecture, Software Testing, Visual Basic

See more: how to write vb net code, how to write vb, how to write code in vb net, custom console components, attribute, php string contain, php class attributes, custom loop, write web properties, create loop php, custom software request write, visual studio console form, vb net console, create form visual studio, visual studio 2005 form, create console console, custom web properties, create program console, console class, visual basic net console, visual studio 2005, studio loop, form visual studio 2005, php customer class

About the Employer:
( 189 reviews ) Columbus, United States

Project ID: #3847821

Awarded to:

charivivek

See private message.

$21.25 USD in 5 days
(3 Reviews)
3.4

15 freelancers are bidding on average $29 for this job

MohamedFaramawi

See private message.

$42.5 USD in 5 days
(136 Reviews)
6.2
bitdonkey

See private message.

$29.75 USD in 5 days
(112 Reviews)
6.1
muskad202

See private message.

$25.5 USD in 5 days
(124 Reviews)
5.7
suryavijayvw

See private message.

$25.5 USD in 5 days
(127 Reviews)
5.7
jaimeolivaresvw

See private message.

$42.5 USD in 5 days
(30 Reviews)
5.6
gopalnvw

See private message.

$34 USD in 5 days
(26 Reviews)
5.0
bucktracker

See private message.

$41.65 USD in 5 days
(26 Reviews)
4.2
acodeguru

See private message.

$22.1 USD in 5 days
(4 Reviews)
3.8
Jchaudhari14

See private message.

$29.75 USD in 5 days
(18 Reviews)
3.1
zeeshandad

See private message.

$17 USD in 5 days
(8 Reviews)
2.4
steffen87

See private message.

$29.75 USD in 5 days
(1 Review)
1.3
taufique

See private message.

$21.25 USD in 5 days
(0 Reviews)
0.0
wilsh

See private message.

$25.5 USD in 5 days
(0 Reviews)
0.0
raktimanathak

See private message.

$21.25 USD in 5 days
(0 Reviews)
0.0