Click here to Skip to main content
14,838,597 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Help using DataGrid Pin
ricecake20-Feb-07 11:11
Memberricecake20-Feb-07 11:11 
Questioniextenderprovider Pin
nileshkolnoorkar1-Feb-07 1:53
Membernileshkolnoorkar1-Feb-07 1:53 
Question.NET 2005 project build number Pin
MayyMagdy1-Feb-07 1:33
MemberMayyMagdy1-Feb-07 1:33 
AnswerRe: .NET 2005 project build number Pin
ednrgc12-Feb-07 5:06
Memberednrgc12-Feb-07 5:06 
QuestionCScrollView equivalent Pin
hairy_hats1-Feb-07 0:08
Memberhairy_hats1-Feb-07 0:08 
QuestionImplement Explicit Interface? Pin
Captain See Sharp31-Jan-07 15:45
MemberCaptain See Sharp31-Jan-07 15:45 
Should I implement an IEnermable interface explicitly?
#region IEnumerable<Range> Members
/// <summary>
/// Enumerator (generic)
/// </summary>
IEnumerator<Range> IEnumerable<Range>.GetEnumerator()
{
  foreach (Range r in ranges)
    yield return r;
}

#endregion

#region IEnumerable Members
/// <summary>
/// Not used.
/// </summary>
System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
{
  throw new NotImplementedException("Non-generic enumerator");
}

They both cannot be implicit because C# does not allow overloading methods that only differ by return type. In what senerio should GetEnermerator be explicit rather than implicit? How do you usually implement yours? Also should I implement anything in the non-generic GetEnumerator method?


█▒▒▒▒▒██▒█▒██
█▒█████▒▒▒▒▒█
█▒██████▒█▒██
█▒█████▒▒▒▒▒█
█▒▒▒▒▒██▒█▒██

AnswerRe: Implement Explicit Interface? Pin
PIEBALDconsult1-Feb-07 7:40
professionalPIEBALDconsult1-Feb-07 7:40 
GeneralRe: Implement Explicit Interface? Pin
Captain See Sharp1-Feb-07 8:26
MemberCaptain See Sharp1-Feb-07 8:26 
AnswerRe: Implement Explicit Interface? Pin
Guffa1-Feb-07 9:09
MemberGuffa1-Feb-07 9:09 
GeneralRe: Implement Explicit Interface? Pin
Captain See Sharp1-Feb-07 9:18
MemberCaptain See Sharp1-Feb-07 9:18 
AnswerRe: Implement Explicit Interface? Pin
Guffa1-Feb-07 10:02
MemberGuffa1-Feb-07 10:02 
GeneralRe: Implement Explicit Interface? [modified] Pin
Captain See Sharp1-Feb-07 11:12
MemberCaptain See Sharp1-Feb-07 11:12 
QuestionFormatting problem in SmtpClient Pin
sbpont31-Jan-07 8:40
Membersbpont31-Jan-07 8:40 
QuestionCollection in PropertyGrid Pin
VadimAn31-Jan-07 7:13
MemberVadimAn31-Jan-07 7:13 
AnswerRe: Collection in PropertyGrid Pin
aSarafian1-Feb-07 2:59
MemberaSarafian1-Feb-07 2:59 
GeneralRe: Collection in PropertyGrid Pin
VadimAn1-Feb-07 4:24
MemberVadimAn1-Feb-07 4:24 
GeneralRe: Collection in PropertyGrid Pin
aSarafian1-Feb-07 9:24
MemberaSarafian1-Feb-07 9:24 
Questiondisplaying webcam capture in WPF Pin
bostjan2531-Jan-07 2:44
Memberbostjan2531-Jan-07 2:44 
QuestionBuild Number of DLL Pin
happyheartcs30-Jan-07 23:53
Memberhappyheartcs30-Jan-07 23:53 
AnswerRe: Build Number of DLL Pin
Pete O'Hanlon31-Jan-07 1:17
mvePete O'Hanlon31-Jan-07 1:17 
Questionassemblies Pin
indian14330-Jan-07 22:36
Memberindian14330-Jan-07 22:36 
AnswerRe: assemblies Pin
Pete O'Hanlon30-Jan-07 23:07
mvePete O'Hanlon30-Jan-07 23:07 
GeneralRe: assemblies Pin
indian14331-Jan-07 0:40
Memberindian14331-Jan-07 0:40 
GeneralRe: assemblies Pin
Pete O'Hanlon31-Jan-07 1:24
mvePete O'Hanlon31-Jan-07 1:24 
QuestionIn which component of .Net framework Pin
indian14330-Jan-07 20:34
Memberindian14330-Jan-07 20:34 

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.