Employee Class

Burke, Brendan J 141 Reputation points

Write a Class statement that defines a class named Employee. (The class contains four public variables named EmpID , LastName , FirstName , and PayRate . The EmpID , LastName , and FirstName variables are String variables. The PayRate variable is a Decimal variable.) Then write a statement that creates an Employee variable named partTime and also instantiates an Employee object, assigning it to the partTime variable.

Visual Basic code is all I need.

An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,663 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Jiachen Li-MSFT 29,026 Reputation points Microsoft Vendor

    Hi @Burke, Brendan J ,
    You can write your own classes by referring to the examples in the documentation below.
    Objects and classes in Visual Basic
    If you encounter a bug while writing your own code, you can post it and we'll be happy to help you out.
    Best Regards.
    Jiachen Li


    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments