Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
I am using a list in class Register:
Judging by the image your property O is a list of type List<Order> but the three items you are adding are of type Shop.
So either O needs to become a List<Shop> or the Order1, Order2, Order3 variables need to be type Order.
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 3 days ago.
Improve this question
System.InvalidOperationException: 'Property 'Expedit.Bokning' is not virtual. 'UseChangeTrackingProxies' requires all entity types to be public, unsealed, have virtual properties, and have a public or protected constructor. 'UseLazyLoadingProxies' requires only the navigation properties be virtual.'
I am using 'UseLazyLoadingProxies' and the navigation properties are set to virtual but it still does not work.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 days ago.
Improve this question
I'm trying to do this in the file GlobalUsings.g.cs
enter image description here
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 days ago.
Improve this question
In the bug clearly fine, the constructor has more parameters, the question here is, what is the meaning "7 authorized". Does this authorized meaning of allowed. If it saying allowed, it can directly say allowed right? but why authorized, because of contractor, we passing or ?
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
I am using C#.net and Asp.net. I am trying to get the following format and assign that value into a TextBox. I am not sure how to accomplish. It has to be in this timestamp format: "YYYY-MM-DDTHH:MM:SS.0000000-00:00"
DateTime.Now.ToString("o") + DateTime.Now.ToString("zzz");
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
I have aList< List< int> > graph;
I have used it for representing an undirected graph.
When i add a new edge graph[u].Add[v];, I am unable to itertate for a specific graph[u].
Since your graph is undirected, you probably want to indicate both that u is connected to v and that v is connected to u.
graph[u].Add(v);
graph[v].Add(u);
Then you can see the nodes connected to u by iterating graph[u].