This is cursorily source-code of C# language.

using System;
namespace Csharp
{
    class AAAAA
    {

         static string[] Language = {"A","B","C"}; 
         int i, j;

         public static int ANT(int data1, int data2)
         {
             //statement1
         }

         static public int BEE(int data3, int data4)
         {
             //statement2
         }

         static void CAT(int data5, int data6)
         {
             //statement3
         }

         public static int Main()
         { 
             //statement4
         }

     }
}

Please write a class diagram of the source code, as this gives me a look.

Recommended Answers

All 2 Replies

Welcome.

Class diagram includes attributes and methods. Have a look at this sample.

You have one class and its diagram is so easy. i added this class diagram's photo. you look this and understand what an easy to draw class diagram. I'll suggest you to use for class diagram(uml diagram). "Bouml" http://bouml.free.fr/download.html its very nice program for this. if you want to ask any question. i'll answer.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.