Search
Get Started
C
C#
•
2y ago
XCR
I'd love to have some assist here
Currently i
'm doing homework
, only 2 day left before i submit my homework
. I currently stucked with this one
, and i
'm not sure where the issues is
. I
'll be really appreciate if there
's any assist
.
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,010
Members
View on Discord
Was this page helpful?
Yes
No
O
OkOk
•
3/30/24, 5:33 PM
You have two imports that reference two different objects that both share the exact same name specified
O
OkOk
•
3/30/24, 5:34 PM
So the code does not know which object you want
, what you can do is to specify the namespace of the desired object
O
OkOk
•
3/30/24, 5:35 PM
By writing it something like namespace1
.SameNameObject
X
XCR
OP
•
3/30/24, 6:18 PM
much oblige
, but i just got another trouble popping up
, so what should i do next
?
M
Monsieur Snowholesome
•
3/30/24, 7:20 PM
Model is null
M
Monsieur Snowholesome
•
3/30/24, 7:20 PM
Make it so Model is not null
M
Monsieur Snowholesome
•
3/30/24, 7:21 PM
Did you pass the Model instance when calling
?
M
Monsieur Snowholesome
Did you pass the Model instance when calling `View()`?
X
XCR
OP
•
3/31/24, 2:23 AM
Yeah i did
, i
've already passing the model instance when calling the View method from the controller
View()
View()