02-16-2013, 02:52 PM
I suppose you can use unsafe code purely out of preference, but for future reference its typically a frowned upon practice because such code would be faster in unmanaged languages, though still faster than basic C# it also drops some of the safties of using a managed language (hence the term unsafe)
Its typically only used in either massive memory operations (like image processing) or intense arithmetic (typically things like matrices)
so long as your not working with other programmers this should not be a problem though though.
on the subject of extension classes I dont think their all that popular, on occasions extending a class past its original functionality is helpful, but in other cases it can change the classes function itself where it may be cleaner to start anew, this isn't one of those cases, I just like talking programming.
Its typically only used in either massive memory operations (like image processing) or intense arithmetic (typically things like matrices)
so long as your not working with other programmers this should not be a problem though though.
on the subject of extension classes I dont think their all that popular, on occasions extending a class past its original functionality is helpful, but in other cases it can change the classes function itself where it may be cleaner to start anew, this isn't one of those cases, I just like talking programming.