Click here to Skip to main content
15,889,612 members
Home / Discussions / C#
   

C#

 
QuestionCalling OpenGL code in a managed DLL from a C# app Pin
Keith Vitali24-Apr-10 21:42
Keith Vitali24-Apr-10 21:42 
AnswerRe: Calling OpenGL code in a managed DLL from a C# app Pin
Michael J. Eber26-Apr-10 11:54
Michael J. Eber26-Apr-10 11:54 
QuestionWindows Form Background Pin
Khaniya24-Apr-10 21:32
professionalKhaniya24-Apr-10 21:32 
AnswerRe: Windows Form Background Pin
Michel Godfroid24-Apr-10 22:25
Michel Godfroid24-Apr-10 22:25 
QuestionBrightness and Contrast Jpeg Pin
Iain Wiseman24-Apr-10 21:31
Iain Wiseman24-Apr-10 21:31 
Questioncopy the image of picturebox to anywhere of my computer Pin
guomouren24-Apr-10 21:08
guomouren24-Apr-10 21:08 
QuestionAbstract Class Pin
future383924-Apr-10 14:00
future383924-Apr-10 14:00 
AnswerRe: Abstract Class Pin
future383924-Apr-10 15:07
future383924-Apr-10 15:07 
hi guys,its my code
==============================================
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace assignmnet1
{
public abstract class Fish
{
protected int weight; //fields definition

/* definition of class property in general
get { return fish_name};
set {fish_name = value}; */

// Abstract read-only properties
public abstract string Name
{
get;
}
public abstract string ScientificName
{
get;
}
public abstract string Acceptable
{
get;
}

//method - public override string ToString().
public override string ToString()
{
return base.ToString();
}
====================================================
the next question is
Classes AustralianBass, ShortFinnedEel, EelTailedCatfish, GippslandPerch.
Class AustralianBass should contain the following members:
· public const int MAX_WEGHT = 4000;
· The default constructor public AustralianBass() should create an instance of the class with
the weight taking its value randomly from 0 to MAX_WEIGHT.
· Implementations for the properties Name, ScientificName, and Acceptable.
· The method - public override string ToString().



how do I supposed to impelement this class?
GeneralRe: Abstract Class Pin
PIEBALDconsult24-Apr-10 16:37
mvePIEBALDconsult24-Apr-10 16:37 
GeneralRe: Abstract Class Pin
future383924-Apr-10 16:48
future383924-Apr-10 16:48 
GeneralRe: Abstract Class Pin
future383924-Apr-10 21:22
future383924-Apr-10 21:22 
GeneralRe: Abstract Class Pin
OriginalGriff24-Apr-10 21:29
mveOriginalGriff24-Apr-10 21:29 
GeneralRe: Abstract Class Pin
DaveyM6924-Apr-10 22:53
professionalDaveyM6924-Apr-10 22:53 
GeneralRe: Abstract Class Pin
Eddy Vluggen24-Apr-10 22:56
professionalEddy Vluggen24-Apr-10 22:56 
GeneralRe: Abstract Class Pin
future383925-Apr-10 13:45
future383925-Apr-10 13:45 
GeneralRe: Abstract Class Pin
future383925-Apr-10 17:06
future383925-Apr-10 17:06 
GeneralRe: Abstract Class Pin
Eddy Vluggen25-Apr-10 23:14
professionalEddy Vluggen25-Apr-10 23:14 
GeneralRe: Abstract Class Pin
Calla26-Apr-10 1:07
Calla26-Apr-10 1:07 
GeneralRe: Abstract Class Pin
Eddy Vluggen26-Apr-10 1:20
professionalEddy Vluggen26-Apr-10 1:20 
GeneralRe: Abstract Class Pin
future383926-Apr-10 1:44
future383926-Apr-10 1:44 
QuestionHow to send & receive sms via gsm modem ? Pin
hdv21224-Apr-10 9:39
hdv21224-Apr-10 9:39 
AnswerRe: How to send & receive sms via gsm modem ? Pin
Md. Marufuzzaman24-Apr-10 20:35
professionalMd. Marufuzzaman24-Apr-10 20:35 
GeneralRe: How to send & receive sms via gsm modem ? Pin
hdv21225-Apr-10 10:34
hdv21225-Apr-10 10:34 
QuestionBest way for windows application with good performance , SQL & Oracle support? Pin
anand kumar m24-Apr-10 5:51
anand kumar m24-Apr-10 5:51 
AnswerRe: Best way for windows application with good performance , SQL & Oracle support? [modified] Pin
PIEBALDconsult24-Apr-10 6:42
mvePIEBALDconsult24-Apr-10 6:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.