Browse by Tags

All Tags » C# » Tips (RSS)

Tiny Tip: Improve Security with InternalsVisibleTo Attribute

In projects that span over multiple teams and for other very reasonable architecture reasons you end up with multiple assembles for your current project or even if you want to reuse a library one of the other teams wrote you will find yourself using code...
Posted by Adel Khalil | 5 comment(s)
Filed under: , , ,

Tiny Tip: is vs. as

Today's tip is a quick look at both not widely used C# operators and why prefer one to another.. Casting using is-operator: if(p is Product) // CLR?: Could i cast this to product? { Product x = (Product)p; // CLR again??: Could i cast this to Product...
Posted by Adel Khalil | 3 comment(s)
Filed under: , , ,