Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: Question About Assembly References

$
0
0
In the documentation page Editing inline C# Functions you discuss adding the Assembly References used by your source code.

How does C1 use these Assembly Reference declarations? Are these the same as declared with the Using statements, and if so, why do we need to add them separately in the C1 console when they are already called out in the source code?

What happens if I don't add System.Globalzation.dll to the Assembly Reference list, but then add "Using System.Globalization;" to the source code? Will it slow things down at compile time? Does adding System.dll work for all sub-namespaces such as System.Globalization?

I'm new to C# programming, and am still trying to get my brain around the concepts. Could someone please explain this for me?

Thanks.

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>