Create a constructor that initializes the instance variables

Assignment Help DOT NET Programming
Reference no: EM132100003

Please program in C#

Create a class called Artist that contains 4 pieces of information as instance variables: name (datatype string), specialization - i.e., music, pottery, literature, paintings (datatype string), number of art items (datatype int), country of birth (datatype string).

Create a constructor that initializes the 4 instance variables. The Artist class must contain a property for each instance variable with get and set accessors. The property for number should verify that the Artist contributions is greater than zero.

If a negative value is passed in, the set accessor should set the Artist's number to 0.

Create a second class ArtistTest that creates two Artist objects using the constructor that you developed in the Artist class. Display the name, specialization, number of art items, country of birth.

Reference no: EM132100003

Questions Cloud

Development of the abdominal muscles : Analyze each exercise with regard to the activity of the abdominal muscles. Defend your answer.
Create and implement a insertion sort algorithm method : Create and implement a Insertion Sort Algorithm method that can be called to sort the given arrays.
Create the framework of a game that uses dice to generate : Create a class (header and implmentation files) named Dice that can be used to create objects that simulate the behavior of one or more Die.
Design an applet in java : Design an applet in Java. The applet should be a snack machine. The user can then click on a button to select the products to dispense.
Create a constructor that initializes the instance variables : Create a constructor that initializes the 4 instance variables. The Artist class must contain a property for each instance variable with get and set accessors.
What is the url : What is the URL? Explain the different URL components with an example from each component.
What is agile development and how does it work : What is Agile Development and how does it work? Type a report of at least two paragraphs.
A simple database in c language using file hadling : Provide a simple database in C language using file hadling for Blood Bank Management which creates a file in which we can read , write , apend.
Evaluate the influence of coding standards : As a technology manager, how would you go about convincing your organization to adopt a major HMIS standard, such as HL7?

Reviews

Write a Review

DOT NET Programming Questions & Answers

  Develop web services based application

Develop and test a Web services based application that meets the requirements applying SOA design principles.

  Design style elements in asp

Add drop down lists for modifying the different style elements for the label element that displays the time

  Create a shopping cart in asp

The users will use a browser to access the on-line store. The web server software for the production web server is Windows 2003 Server /IIS6.

  Inventory management system in c# application

Inventory management system in c# application

  Using .net resources to teach .net

This project will use the .NET framework to produce a set of materials to demonstrate the fundamental principles of .NET. Ideally it should demonstrate some of the principles of the framework e.g. interoperability.

  Prepare a marymount faculty site

Prepare a Marymount faculty site

  Blinky lights

Analysis proving that your code blinks the LEDs at the specified rates.

  Prepare a web application

Prepare a web application that will be used to keep track of patients registering in a hospital.

  Implementing the insurance management system

Implementing the Insurance Management System and implementation of Components as Web Services.

  Describe the characteristics of visual studio 2005

Describe the characteristics of Visual Studio 2005 Visual Studio.Net is a suite of products that includes 4 main languages. Name these languages and outline their use in industries

  What is a connectionstring

What is a ConnectionString. Give a suitable example to illustrate the various part of a ConnectionString

  Prepare a web application for internet service provider

Prepare a Web application and write the code also event planning document base. This web application allows the user to sign up for an Internet service provider for home connectivity.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd