7zSharp is a .NET 2.0 LGPL wrapper around the 7z LZMA SDK and executable written in C#, providing a library (DLL) wrapper and simplified API to encode and decode using the 7z library.
Note: this is not a pure-managed implementation of a compression library. Quite the opposite -- it's a thin wrapper for the C++ libraries written in the 7-Zip project for decompressing 7z/zip/gzip/bzip2/tar/rar/cab/iso/... etc (and for compressing in 7z,gzip,bzip2,zip,tar,etc)
arrays of reference types are covariant in their element type, but not safely
where did that exception come from? It came from the runtime, which was in a unique position to know what the real type of the array object was, and the real type of the element. It needed to determine if the assignment was allowable and throw if not. Now if you think about this for a minute, you can see that it’s going to have to perform that check for every assignment to an array element
So if I want to have an array of reference types, but get the runtime to treat it like an array of value types, what have I got to do? Just wrap the reference type in a value type
So I got rid of that check, right? But I added the initialization of a value type. Did I win or lose? Let’s do some timing to figure it out.
when I build Debug binaries, the Reference<T> trick makes my example about three times SLOWER.
Arrays are covariant only for reference types. If you use a struct wrapper to turn a reference type into a value type, the initialization of the value type takes less time than array assignment.
Libertà is an open source suite of portable software and wrappers for making existing software portable, including a custom launcher, backup tools and more.
The Tao Framework for .NET is a collection of bindings to facilitate cross-platform media application development utilizing the .NET and Mono platforms. Lots of library wrappers: OpenGl FreeGlut OpenAl Cg Lua Sdl PhysFs Glfw FFmpeg FreeType ... etc
ScintillaNET is a .NET 2.0 wrapper around the Scintilla Native control. It provides a friendly .NET interface around the unwieldy Scintilla component ...
s a web developer I have often had to work with the session, cookie, query string and cache to persist data locally. But it is a shame that there is no neat way of doing so. So I decided to write my own code to provide a simpler and unified model to work with and finally came up with this, a type safe and generic wrapper that supports complex data types
Cocos2DSamples /
Show File Finder
Update README.md
latest commit 2d62e099d2
DhruvCShepHertz
authored 3 days ago
Soccer_Demo
3 days ago
Delete user profile files
[DhruvCShepHertz]
README.md
3 days ago
Update README.md
[DhruvCShepHertz]