Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7963817
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T05:42:18+00:00 2026-06-04T05:42:18+00:00

I have made a class : public class Node { public int Id {

  • 0

I have made a class :

public class Node
{
    public int Id { get; set; }
    public string Name { get; set;}
    public List<Node> Successor { get; set; }

}

and in some method i want to do the following

partice.path= new  LinkedList<Node>();

but i cant reach the “.elementat()” method and other extensions.

ps: all the classes above are in silverlight class library,i don’t know if it is relevant to the error.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T05:42:20+00:00Added an answer on June 4, 2026 at 5:42 am

    It’s not clear if you’re using the framework classes (as suggested in the title) or your own class, given your Node declaration…

    If you’re using the framework classes, make sure to include:

    using System.Linq;
    

    At the top of your file. Also, make sure to include a reference to System.Core.dll in your project.

    If you’re using your own class, and you want to use the Enumerable.ElementAt extension method, you need to make your class implement IEnumerable<T>.

    That being said, you might want to just use the framework’s LinkedList<T> class instead of rolling your own…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a class as below: public class Node { public int NodeID {
I have made a template class for a node in a linked list and
I have made a Java class where I have defined a constructor and some
I have an XDocument class with the XML contents already made. I basically want
I have made a class to try exceptions: class precExcp:exception { public: virtual const
So I have a class made specifically for holding an event handling method which
So I have made this simple interface: package{ public interface GraphADT{ function addNode(newNode:Node):Boolean; }
I have made a class Location which allows to set, change a location (coordinates
I have made a class AbstractVehicle: package TruckingCompany; public abstract class AbstractVehicle implements Movable
greetings, i need a replacement for TableLayoutPanelCellPosition. i have made this class: public class

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.