Search Results for

    Show / Hide Table of Contents

    Class FamilyMember

    Base class for a family member.

    Inheritance
    object
    FamilyMember
    Adult
    Child
    Namespace: Backend
    Assembly: cs.temp.dll.dll
    Syntax
    public class FamilyMember

    Fields

    s_FirstNames

    Static array of Punjab first names. Adapted from here.

    Declaration
    public static string[] s_FirstNames
    Field Value
    Type Description
    string[]

    Properties

    FirstName

    First name.

    Declaration
    public string FirstName { get; protected set; }
    Property Value
    Type Description
    string

    LastName

    Last name.

    Declaration
    public string LastName { get; protected set; }
    Property Value
    Type Description
    string

    Methods

    GetRandomFirstName()

    Gets a random first name from s_FirstNames.

    Declaration
    public static string GetRandomFirstName()
    Returns
    Type Description
    string

    A random first name.

    In This Article
    Back to top Green Revolution Code Documentation