A D.C. Superior Court judge fined five corporations yesterday a total of $13,730 for 478 violations of the city's housing code at five apartment buildings in Northwest Washington.

The corporations' principal officer Gregory S. Marsh, entered guilty pleas in behalf of the corporations on Jan. 18 before Judge Edmund Daly. City officals said yesterday that the fine set by Daly was the highest they could recall for housing code violations.

After the corporations were sentenced yesterday, Marsh said he thought the fines were "very oppressive."

The apartment buildings where the violations occurred are located at 1420 R. St. NW, 1436 F. St. NW, 1440 R St. NW and 1619 R St. NW.

Abraham Greenstein, acting administrator for the city housing department's neighborhood improvement 3ffice, said the violations -- some of which were more than a year old -- ranged from loose and peeling paint on walls to holes in ceilings.

Marsh agreed to plead guilty in behalf of the corporations after the D.C. Corporation Counsel's Office said it would drop similar charges against Marsh as an individual, according to Assistant Corporation Counsel Mark S. Mann.

The corporations have 90 days to pay the fines set by Judge Daly yesterday.

Mann said that all of the proerties except for 1619 R St. NW, have been SOLD BY THE CORPORATIONS -- EACH OF WHICH REPRESENTED ONE OF THE FIVE BUILDINGS. According to Kenneth J. Loewinger, an attorney for the corporations, the remaining building is now is compliance with the city's housing regulations.