
The D file extension contains source code that has been written in the D programming language, which is similar to the popular C++ programming language.
The file can be opened and edited in a simple text editing program, but it needs a D compiler in order to be compiled into an executable program.