Click here to Skip to main content
15,899,754 members
Home / Discussions / C#
   

C#

 
QuestionHow to run ppt slide one after one by Process.Start Pin
Tridip Bhattacharjee5-Feb-17 8:18
professionalTridip Bhattacharjee5-Feb-17 8:18 
AnswerRe: How to run ppt slide one after one by Process.Start Pin
Dave Kreskowiak5-Feb-17 10:05
mveDave Kreskowiak5-Feb-17 10:05 
GeneralRe: How to run ppt slide one after one by Process.Start Pin
Tridip Bhattacharjee5-Feb-17 10:43
professionalTridip Bhattacharjee5-Feb-17 10:43 
GeneralRe: How to run ppt slide one after one by Process.Start Pin
Dave Kreskowiak5-Feb-17 17:52
mveDave Kreskowiak5-Feb-17 17:52 
GeneralRe: How to run ppt slide one after one by Process.Start Pin
Pete O'Hanlon5-Feb-17 21:05
mvePete O'Hanlon5-Feb-17 21:05 
GeneralRe: How to run ppt slide one after one by Process.Start Pin
Tridip Bhattacharjee5-Feb-17 22:51
professionalTridip Bhattacharjee5-Feb-17 22:51 
GeneralRe: How to run ppt slide one after one by Process.Start Pin
Dave Kreskowiak6-Feb-17 3:00
mveDave Kreskowiak6-Feb-17 3:00 
QuestionRegistries in Windows 10 Pro Pin
picasso23-Feb-17 14:40
picasso23-Feb-17 14:40 
AnswerRe: Registries in Windows 10 Pro Pin
Richard MacCutchan3-Feb-17 22:10
mveRichard MacCutchan3-Feb-17 22:10 
QuestionCOM object that has been separated from its underlying RCW cannot be used. Pin
hpjchobbes3-Feb-17 4:48
hpjchobbes3-Feb-17 4:48 
QuestionAccess Network Share with a Microsoft HoloLens Pin
Member 127713943-Feb-17 4:01
Member 127713943-Feb-17 4:01 
QuestionRe: Access Network Share with a Microsoft HoloLens Pin
Richard MacCutchan3-Feb-17 6:42
mveRichard MacCutchan3-Feb-17 6:42 
QuestionRe: Access Network Share with a Microsoft HoloLens Pin
Member 127713943-Feb-17 7:02
Member 127713943-Feb-17 7:02 
QuestionRate my codes please? Pin
Member 111381293-Feb-17 1:06
Member 111381293-Feb-17 1:06 
AnswerRe: Rate my codes please? Pin
OriginalGriff3-Feb-17 1:26
mveOriginalGriff3-Feb-17 1:26 
SuggestionRe: Rate my codes please? Pin
Richard Deeming3-Feb-17 1:54
mveRichard Deeming3-Feb-17 1:54 
QuestionMessage Closed Pin
2-Feb-17 23:48
professionalTEProjects2-Feb-17 23:48 
AnswerRe: How to use C# ArrayList ? Pin
Midi_Mick2-Feb-17 23:52
professionalMidi_Mick2-Feb-17 23:52 
GeneralRe: How to use C# ArrayList ? Pin
TEProjects3-Feb-17 20:54
professionalTEProjects3-Feb-17 20:54 
AnswerRe: How to use C# ArrayList ? Pin
Jochen Arndt2-Feb-17 23:55
professionalJochen Arndt2-Feb-17 23:55 
GeneralRe: How to use C# ArrayList ? Pin
TEProjects3-Feb-17 20:55
professionalTEProjects3-Feb-17 20:55 
AnswerRe: How to use C# ArrayList ? PinPopular
Afzaal Ahmad Zeeshan3-Feb-17 0:00
professionalAfzaal Ahmad Zeeshan3-Feb-17 0:00 
Forget about ArrayList, ArrayList is really very much old and you should focus on what C# now has. C# has List object, and it is primarily "managed" array. In static arrays, you have a static length of it. So, if you created an array of size, say 10, you will always have 10 indices to care of even if you store only 3-6 objects in it. Same case, if you want to add more you cannot since you are only allocated with 10 indices.

In List case, you can always grow the size or shrink it as needed. Such as,
C#
var names = new List<string> ();
names.Add("Afzaal");
names.Add("Ahmad");

// So on.
You cannot do the same in case of arrays, the above is similar to having the following,
C#
string[] names = new string [] { };

// You cannot do this
names[0] = "Afzaal";
names[1] = "Ahmad";
To see what happens you can do the following,
C#
Console.WriteLine(names.Length);
That will print "0", telling you that the array was empty and you cannot grow or shrink it on runtime. On the other hand you can easy do so.

The generic stuff really don't matter much in my opinion, you can do the same,
C#
var list = new List<string> (); // list of string
var list = new string[] { };    // array of string
But however, the helper functions are very much great in List objects as compared to the Array objects. The comparisons have been made for a lot of time, you can read any of other articles as well.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~


modified 3-Feb-17 7:39am.

GeneralRe: How to use C# ArrayList ? Pin
TEProjects3-Feb-17 20:57
professionalTEProjects3-Feb-17 20:57 
AnswerRe: How to use C# ArrayList ? Pin
OriginalGriff3-Feb-17 0:09
mveOriginalGriff3-Feb-17 0:09 
AnswerRe: How to use C# ArrayList ? Pin
JACOB-TANZANIA3-Feb-17 21:51
professionalJACOB-TANZANIA3-Feb-17 21: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.