₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,344,368 members, 8,511,523 topics. Date: Sunday, 01 November 2026 at 07:53 PM

Toggle theme

Object Of Arbitrary Classes - Programming - Nairaland

Nairaland Forum › Science/Technology › Programming › Object Of Arbitrary Classes (1009 Views)

1 Reply

Object Of Arbitrary Classes by cylife(op): 11:18pm On May 25, 2016
how can i know the object of arbitrary classes?
Re: Object Of Arbitrary Classes by speedj: 11:40pm On May 25, 2016
cylife:
how can i know the object of arbitrary classes?
with the help of dapfor.netgrid. A programmer may create any arbitrary classes in application. Objects of these classes are associated with grid rows, and their properties are associated with grid columns. Values returned by getters of these properties are displayed in grid cells.check the codes below
public class MyCustomClass
{
private int _intValue;
private double _doubleValue;
private string _stringValue;

public MyCustomClass(int intValue, double doubleValue, string stringValue)
{
_intValue = intValue;
_doubleValue = doubleValue;
_stringValue = stringValue;
}

public int IntValue
{
get { return _intValue; }
set { _intValue = value; }
}

public double DoubleValue
{
get { return _doubleValue; }
set { _doubleValue = value; }
}

public string StringValue
{
get { return _stringValue; }
set { _stringValue = value; }
}
}




title public class MyCustomClass
{
private int _intValue;
private double _doubleValue;
private string _stringValue;

public MyCustomClass(int intValue, double doubleValue, string stringValue)
{
_intValue = intValue;
_doubleValue = doubleValue;
_stringValue = stringValue;
}

public int IntValue
{
get { return _intValue; }
set { _intValue = value; }
}

public double DoubleValue
{
get { return _doubleValue; }
set { _doubleValue = value; }
}

public string StringValue
{
get { return _stringValue; }
set { _stringValue = value; }
}
}
1 Reply

Learn Object Oriented Programming (OOP) AT SANDCROFT SOFTWARE • Invalid Database Object Reference • Object Oriented Program: What Does It Really Mean? • 2 • 3 • 4

Help:how To Change Blog Account To A Website • Please Help Needed On Programming... • 4 Benefits Of Partnering With Splashz.com