© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
151 replies
alaa2008

❔ c# unity error

in unity i am getting this error here:
Feature `declaration expression` cannot be used because it is not part of the C# 6.0 language specification
Feature `declaration expression` cannot be used because it is not part of the C# 6.0 language specification

the full code is here: https://pastebin.com/KzChaicv, line 35.
can someone please help me?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Next page

Similar Threads

C# for Unity
C#CC# / help
2y ago
✅ helping learn C# Unity
C#CC# / help
9mo ago
C# Unity game mod
C#CC# / help
3y ago
❔ Easy problem C# Unity
C#CC# / help
3y ago