Click here to Skip to main content
15,910,083 members
Home / Discussions / C#
   

C#

 
GeneralRe: Need help using visual studio and C# to make a simple app that displays html Pin
Anthony Mushrow2-May-09 0:55
professionalAnthony Mushrow2-May-09 0:55 
QuestionHow to debug COM+ Applications Using Microsoft .NET Enterprise Services ?? Pin
Yanshof1-May-09 13:51
Yanshof1-May-09 13:51 
Questionnic enable/disable Pin
mark_me1-May-09 13:50
mark_me1-May-09 13:50 
AnswerRe: nic enable/disable Pin
Mycroft Holmes1-May-09 14:36
professionalMycroft Holmes1-May-09 14:36 
AnswerRe: nic enable/disable Pin
Anthony Mushrow1-May-09 14:56
professionalAnthony Mushrow1-May-09 14:56 
Questionusing a listbox within a listview how to pass parameter from listview Pin
jmrobbins1-May-09 12:26
jmrobbins1-May-09 12:26 
AnswerRe: using a listbox within a listview how to pass parameter from listview Pin
T_Teef1-May-09 13:24
T_Teef1-May-09 13:24 
QuestionError 1 'character': member names cannot be the same as their enclosing type Pin
msheekhah1-May-09 11:13
msheekhah1-May-09 11:13 
i'm teaching myself c#. i got through polymophism, pointers, linked lists, and data structures in C++ in college decades ago. however, I'm spacing on the easy sh*t it seems. Can someone help me out?

using System;
...
using System.Windows.Forms;

namespace WindowsFormsApplication4
{
...

 public class character
 {
            protected Hashtable charSheet = new Hashtable();
            protected Hashtable mutantStats = new Hashtable();
            protected Hashtable mutantPower = new Hashtable();
            
            public void character()
            {
                charSheet.Add("Name", "");
                ...
                mutantStats.Add("Tactics", "");
            }
            public void character(string nm,int xp,int lvl,int str,int dex,int sta,int spe,int hea,int soa,int def)
            {
                charSheet.Add("Name", nm);
                ...
                mutantStats.Add("Defense", "");
            }
            
            // constructors

          ...

AnswerRe: Error 1 'character': member names cannot be the same as their enclosing type Pin
Pete O'Hanlon1-May-09 12:06
mvePete O'Hanlon1-May-09 12:06 
AnswerRe: Error 1 'character': member names cannot be the same as their enclosing type Pin
Henry Minute1-May-09 12:08
Henry Minute1-May-09 12:08 
GeneralRe: Error 1 'character': member names cannot be the same as their enclosing type Pin
msheekhah1-May-09 12:55
msheekhah1-May-09 12:55 
QuestionReportViewer... printing multiple documents.... Pin
Jacob Dixon1-May-09 11:01
Jacob Dixon1-May-09 11:01 
AnswerRe: ReportViewer... printing multiple documents.... Pin
Jacob Dixon1-May-09 14:45
Jacob Dixon1-May-09 14:45 
QuestionAdding formatted text to a richtextbox changes appearance of bullets Pin
Edward Hoad1-May-09 10:05
Edward Hoad1-May-09 10:05 
Questionenable a textbox in gridview using checkbox. Pin
magshine1-May-09 9:08
magshine1-May-09 9:08 
AnswerRe: enable a textbox in gridview using checkbox. Pin
Henry Minute1-May-09 12:11
Henry Minute1-May-09 12:11 
AnswerRe: enable a textbox in gridview using checkbox. Pin
magshine7-May-09 4:44
magshine7-May-09 4:44 
Questionconverting text to int Pin
Mehrdad from iran1-May-09 8:34
Mehrdad from iran1-May-09 8:34 
AnswerRe: converting text to int Pin
Genius.Boy1-May-09 8:44
Genius.Boy1-May-09 8:44 
GeneralRe: converting text to int Pin
Jimmanuel1-May-09 8:58
Jimmanuel1-May-09 8:58 
RantRe: converting text to int Pin
Member 10339071-May-09 10:04
Member 10339071-May-09 10:04 
AnswerRe: converting text to int Pin
Pete O'Hanlon1-May-09 10:43
mvePete O'Hanlon1-May-09 10:43 
AnswerRe: converting text to int Pin
PIEBALDconsult1-May-09 13:47
mvePIEBALDconsult1-May-09 13:47 
QuestionCustom code in a Dispose method Pin
Dan Neely1-May-09 8:34
Dan Neely1-May-09 8:34 
AnswerRe: Custom code in a Dispose method Pin
Henry Minute1-May-09 9:15
Henry Minute1-May-09 9:15 

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.