Click here to Skip to main content
15,896,201 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to add reference to dll in asp project Pin
Richard MacCutchan22-Jul-12 3:28
mveRichard MacCutchan22-Jul-12 3:28 
GeneralRe: how to add reference to dll in asp project Pin
Member 906602522-Jul-12 4:11
Member 906602522-Jul-12 4:11 
GeneralRe: how to add reference to dll in asp project Pin
Richard MacCutchan22-Jul-12 4:35
mveRichard MacCutchan22-Jul-12 4:35 
AnswerRe: how to add reference to dll in asp project Pin
BobJanova22-Jul-12 22:59
BobJanova22-Jul-12 22:59 
Questionhow to get solution files from the dll Pin
Member 906602521-Jul-12 21:25
Member 906602521-Jul-12 21:25 
AnswerRe: how to get solution files from the dll Pin
Eddy Vluggen21-Jul-12 23:29
professionalEddy Vluggen21-Jul-12 23:29 
GeneralRe: how to get solution files from the dll Pin
Member 906602522-Jul-12 2:01
Member 906602522-Jul-12 2:01 
GeneralRe: how to get solution files from the dll Pin
Eddy Vluggen22-Jul-12 3:05
professionalEddy Vluggen22-Jul-12 3:05 
GeneralRe: how to get solution files from the dll Pin
Member 906602522-Jul-12 3:25
Member 906602522-Jul-12 3:25 
GeneralRe: how to get solution files from the dll Pin
Richard MacCutchan22-Jul-12 3:29
mveRichard MacCutchan22-Jul-12 3:29 
AnswerRe: how to get solution files from the dll Pin
Eddy Vluggen22-Jul-12 3:56
professionalEddy Vluggen22-Jul-12 3:56 
GeneralRe: how to get solution files from the dll Pin
Member 906602522-Jul-12 4:10
Member 906602522-Jul-12 4:10 
GeneralRe: how to get solution files from the dll Pin
Eddy Vluggen22-Jul-12 4:23
professionalEddy Vluggen22-Jul-12 4:23 
AnswerRe: how to get solution files from the dll Pin
Richard MacCutchan22-Jul-12 0:16
mveRichard MacCutchan22-Jul-12 0:16 
Questionmanifest files Pin
Member 823196321-Jul-12 13:27
Member 823196321-Jul-12 13:27 
AnswerRe: manifest files Pin
Trak4Net21-Jul-12 15:47
Trak4Net21-Jul-12 15:47 
AnswerRe: manifest files Pin
jschell22-Jul-12 7:00
jschell22-Jul-12 7:00 
GeneralDeclare variable as Interface vs. Class Pin
trinh.nguyen21-Jul-12 0:55
trinh.nguyen21-Jul-12 0:55 
AnswerRe: Declare variable as Interface vs. Class Pin
DaveyM6921-Jul-12 1:31
professionalDaveyM6921-Jul-12 1:31 
AnswerRe: Declare variable as Interface vs. Class Pin
Abhinav S21-Jul-12 5:28
Abhinav S21-Jul-12 5:28 
Technically, there is little to no difference, you would need to instantiate both these variables.
However, by defining var1 as an interface type, you have left the actual definition open for later, giving additional flexibility.

Based on some options, you could switch between different types at runtime when using an IList.
For e.g.
if (flag)
{
  var1 = new List<MyClass>();
}
else
{
  var 1 = new MyOwnList<MyClass>(); //a custom implementation of the IList interface.
}

Build your own survey - http://www.factile.net

Questionblock data copy from pen drive to PC using c# Pin
haldin20-Jul-12 20:13
haldin20-Jul-12 20:13 
AnswerRe: block data copy from pen drive to PC using c# Pin
Abhinav S20-Jul-12 20:39
Abhinav S20-Jul-12 20:39 
AnswerRe: block data copy from pen drive to PC using c# Pin
Eddy Vluggen21-Jul-12 8:04
professionalEddy Vluggen21-Jul-12 8:04 
QuestionInvalid argument (Converted from VB.Net) Pin
Midnight Ahri20-Jul-12 17:12
Midnight Ahri20-Jul-12 17:12 
GeneralRe: Invalid argument (Converted from VB.Net) Pin
Wes Aday20-Jul-12 17:51
professionalWes Aday20-Jul-12 17: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.