Other Flashcards Preview

.NET / C# > Other > Flashcards

Flashcards in Other Deck (4)
Loading flashcards...

What is implicit typing?

The compiler infers the variable type without the need of specifying it when declaring a variable. e.g: var name = "Erikson"


Does implicit type make C# a weak typed language?

No. Remains strongly typed as we can't use vars to declare method and other places where the compiler can't infer the var type.


Can I use a var variable without assigning a value?

No.. once the compiler won't be able to infer the variable type.


What to do when you need to copy a file to the build/publish folder?

Go to the property of the file and select copy if newer