Click here to Skip to main content
15,907,687 members
Home / Discussions / C#
   

C#

 
QuestionMMC SnapIn needs to prevent the Console from exiting Pin
Peter Bruderlin22-Mar-09 17:42
Peter Bruderlin22-Mar-09 17:42 
Questionhow to change activesync ipaddress Pin
osemia22-Mar-09 14:56
osemia22-Mar-09 14:56 
QuestionCalling A form by its name which is saved as text in a table . Pin
unitecsoft22-Mar-09 14:31
unitecsoft22-Mar-09 14:31 
AnswerRe: Calling A form by its name which is saved as text in a table . Pin
PIEBALDconsult22-Mar-09 16:27
mvePIEBALDconsult22-Mar-09 16:27 
AnswerRe: Calling A form by its name which is saved as text in a table . Pin
Morven Huang22-Mar-09 20:55
Morven Huang22-Mar-09 20:55 
QuestionSort thru arrays for elements Pin
onetreeup22-Mar-09 13:48
onetreeup22-Mar-09 13:48 
AnswerRe: Sort thru arrays for elements Pin
ABitSmart22-Mar-09 18:14
ABitSmart22-Mar-09 18:14 
AnswerRe: Sort thru arrays for elements [modified] Pin
12Code22-Mar-09 18:17
12Code22-Mar-09 18:17 
create a class

public class array_of_4element()
{
    public array_of_4element(string s, params int[] i)
    {
       str = s;
       num.CopyTo(i,0);
    }
    string str;
    int[] num = new int[3];

    public int sum()
    {
       return num[0]+num[1]+num[2];
    }
}



so your

onetreeup wrote:
an array with 4 elements in each record of 8 records


would be done in

<code>List<array_of_4element> 8_records = new List<array_of_4element>(8);

// add first record
array_of_4element arr = new array_of_4element("text1", 98,97,98);
8_records.Add(arr);

// get first record, sum of num values
8_records[0].sum();
</code>


8.Kelvin()
{   
  while (!(the machine can program itself))
     Wont_stop_coding = true;
}


modified on Monday, March 23, 2009 12:24 AM

QuestionCode for drawing two dimensional "Nautilus" spirals?? Pin
Wej Parry22-Mar-09 12:02
Wej Parry22-Mar-09 12:02 
AnswerRe: Code for drawing two dimensional "Nautilus" spirals?? Pin
Christian Graus22-Mar-09 12:31
protectorChristian Graus22-Mar-09 12:31 
GeneralRe: Code for drawing two dimensional "Nautilus" spirals?? Pin
Wej Parry22-Mar-09 14:13
Wej Parry22-Mar-09 14:13 
QuestionWhere Do I Start Learning About Using SQL Databases in C# Applications? Pin
That Asian Guy22-Mar-09 10:39
That Asian Guy22-Mar-09 10:39 
AnswerRe: Where Do I Start Learning About Using SQL Databases in C# Applications? Pin
Christian Graus22-Mar-09 10:58
protectorChristian Graus22-Mar-09 10:58 
AnswerRe: Where Do I Start Learning About Using SQL Databases in C# Applications? Pin
PIEBALDconsult22-Mar-09 16:31
mvePIEBALDconsult22-Mar-09 16:31 
AnswerRe: Where Do I Start Learning About Using SQL Databases in C# Applications? Pin
Morven Huang22-Mar-09 21:06
Morven Huang22-Mar-09 21:06 
AnswerRe: Where Do I Start Learning About Using SQL Databases in C# Applications? Pin
Nouman Bhatti22-Mar-09 22:07
Nouman Bhatti22-Mar-09 22:07 
QuestionSplitting distribution groups and security groups up? Pin
Jacob Dixon22-Mar-09 10:27
Jacob Dixon22-Mar-09 10:27 
QuestionStreamReader.readline() problem Pin
Admin88722-Mar-09 8:30
Admin88722-Mar-09 8:30 
AnswerRe: StreamReader.readline() problem Pin
dan!sh 22-Mar-09 9:16
professional dan!sh 22-Mar-09 9:16 
GeneralRe: StreamReader.readline() problem Pin
Admin88722-Mar-09 10:40
Admin88722-Mar-09 10:40 
AnswerRe: StreamReader.readline() problem Pin
PIEBALDconsult22-Mar-09 16:29
mvePIEBALDconsult22-Mar-09 16:29 
QuestionIn windows application from1 Link to form2 i want buttons visible false how? [modified] Pin
pramod251722-Mar-09 8:24
pramod251722-Mar-09 8:24 
AnswerRe: In windows application from1 to form2 i want buttons visible false how? Pin
dan!sh 22-Mar-09 9:12
professional dan!sh 22-Mar-09 9:12 
AnswerRe: In windows application from1 to form2 i want buttons visible false how? Pin
DaveyM6922-Mar-09 9:23
professionalDaveyM6922-Mar-09 9:23 
GeneralRe: In windows application from1 to form2 i want buttons visible false how? Pin
pramod251722-Mar-09 9:51
pramod251722-Mar-09 9:51 

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.