Using The "Using" Statement On a Method Rather Than a Class
posted by Setsuko(455) 3 years, 9 months ago 0
I agree with evarlast ! We seriously need an downkick button.
Reply
How To Create a WPF Template For a Generic Class
Yeah, thanks for getting our hopes up :p
"... create a DataTemplate for a Generic Class ..." Content Control != DataTemplate last time I checked, sorry.
DotNetKicks: .NET links, "community driven" I doubt a real community will just passively stand by when some article that just isn't correct makes it to the frontpage of their beloved site. In my humble opinion, whenever an article that endorses bad coding makes it to the frontpage, a community is responsible for pointing out the reason why this should be avoided. If anyone here seriously thinks that by simply ignoring such an article, your community will grow and people inside the community will learn from their mistakes, then I guess my whole idea of what DNK stands for just got smashed to bits. Being called an ***hole for doing so is even worse. I'd love to see your face when the following conversation takes place at your office in a few months from now. - You: What's this? It's not a good idea to use the IDisposable interface for anything else than disposing stuff. - New guy: I've read somewhere that it is a great way to make your code more readable and it simplifies development. - You: What ? Where ? - New guy: It was on my DNK feed. - You: Oh yeah, right, I remember that article, but... I didn't kick it so you should've figured it was bad coding. - New guy: ... GG Peace out.